OK. Take a look at this method:
... you can see how to use the base64 encoder/decoder.
Once you encrypt your string, base64-encode it.
You will get a base64 encoded string you can insert in a database without problems.
BTW I wrote it fast, I hope theres no typos...
HTH
[ December 16, 2002: Message edited by: Juanjo Bazan ]