Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Port of Nick Galbreath's JS base64 string encoder.
JavaScript
Branch: master
Failed to load latest commit information.
README.markdown Update README.markdown
jquery.base64.js Added VERSION property.
jquery.base64.min.js Initial import.

README.markdown

THIS PROJECT IS NO LONGER MAINTAINED. IT MOSTLY WORKS, BUT IF YOU RUN INTO ISSUES, CHECK OUT THE FORKS, PLEASE. OR FIX IT YOURSELF. CHEERS!


jquery-base64

Rather simple jQuery'fication of Nick Galbreath's base64 string encoder.

I didn't like having a global base64 variable around, that's all.

Usage

  • $.base64.encode( "this is a test" ) returns "dGhpcyBpcyBhIHRlc3Q="
  • $.base64.decode( "dGhpcyBpcyBhIHRlc3Q=" ) returns "this is a test"

Known issues

JSLint is complaining about the "unexpected use of '<<'/'|'". No idea, suggestions welcome.

Developers

Original code by Nick Galbreath. Port by Carlo Zottmann.

License

MIT license, just like the original.

Something went wrong with that request. Please try again.