Rather simple jQuery'fication of Nick Galbreath's base64 string encoder.
I didn't like having a global
base64 variable around, that's all.
$.base64.encode( "this is a test" )returns
$.base64.decode( "dGhpcyBpcyBhIHRlc3Q=" )returns
"this is a test"
JSLint is complaining about the "unexpected use of '<<'/'|'". No idea, suggestions welcome.
MIT license, just like the original.