PDA

View Full Version : Base64 encoder for Java



reynolds
8th May 2003, 18:18
Anyone know where I can download a good Java Base64 encoder/decoder?

eek
8th May 2003, 18:22
iharder.sourceforge.net/base64/ (http://iharder.sourceforge.net/base64/)

test it before use tho (its grab files from other sources and then shifting platform thats caught me out in the past).

threaded
8th May 2003, 18:23
You gotta be kidding: you can't write one yourself?

But here's one...
iharder.sourceforge.net/base64/ (http://iharder.sourceforge.net/base64/)

DimPrawn
8th May 2003, 19:06
Just use

Convert.ToBase64String(...)
Convert.FromBase64String(...)

Oh sorry I thought you were talking C# :evil

reynolds
8th May 2003, 20:06
"You gotta be kidding: you can't write one yourself?"

Not when I can download one I can't ;)