TweetNaCl.js is a port of TweetNaCl / NaCl to JavaScript. It implements secret-key authenticated encryption, public-key authenticated encryption, hashing, and public-key signatures. High-level crypto library in only 7 KB (minified and gzipped)!

Download Documentation Source on GitHub