Labs/Secret - MozillaWiki
https://wiki.mozilla.org/Labs/Secret
"The Secret library (real name TBD) is a general-purpose cryptography API and implementation for JavaScript.
Our plan is to design a modern API and first expose it to chrome JS (for browser add-ons), and later expose it to content as well. "