Re: Encryption Code Problem
Re: Encryption Code Problem
- Subject: Re: Encryption Code Problem
- From: email@hidden
- Date: Wed, 4 Jun 2003 14:13:58 +0100
On Tuesday, June 3, 2003, at 08:23 pm, Jonathan Fleming wrote:
I suspect your binary stream is not surviving the roundtrip to the
database. Try Hex-encoding the binary stream first before storing it
to
the database, and decoding it upon retrival. That way you're only
storing
ASCII characters, which is much more likely to work.
Both Apache Jakarta and BouncyCastle have hex encoder/decoder
available.
Or you could simply use java.net.URLEncoder and java.net.URLDecoder.
-- Denis.
Also, Raphael Szwarc wrote one and posted it:
<http://www.wodeveloper.com/omniLists/webobjects-dev/2002/July/
msg00157.htm
l>
Thanks for this Jonathan but that link seems to be dead. Is there an
alternative way of obtaining this?
such as an attachment if under 1.8mg else I'll have to send you my
private e-mail address
Cheers
Jonathan :^)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.