[whatwg] window.cipher HTML crypto API draft spec

David Dahl ddahl at mozilla.com
Fri May 20 08:04:41 PDT 2011

Hello WHATWG members,

With user control and privacy in mind, I have created a spec and an implementation for an easy to use cryptography API called DOMCrypt. This API will provide each web browser window with a 'cipher' property that facilitates:

* asymmetric encryption key pair generation
* public key encryption 
* decryption
* signature generation
* signature verification
* hashing
* easy public key discovery via meta tags

I have created a Firefox extension that implements all of the above, and am working on an experimental patch that integrates this API into Firefox.

The draft spec is here: https://wiki.mozilla.org/Privacy/Features/DOMCryptAPISpec/Latest

The project originated in an extension I wrote, the home page is here: http://domcrypt.org

The source code for the extension is here: https://github.com/daviddahl/domcrypt

The Mozilla bugs are here: 

You can test the API by installing the extension hosted at domcrypt.org and addons.mozilla.org, and going to http://domcrypt.org

Best Regards,

David Dahl

Firefox Engineer, Mozilla Corp.

More information about the whatwg mailing list