Skip to content

Instantly share code, notes, and snippets.

@roustem
Last active November 11, 2015 07:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roustem/5113d48e1a91e220ff6d to your computer and use it in GitHub Desktop.
Save roustem/5113d48e1a91e220ff6d to your computer and use it in GitHub Desktop.
WebCrypto in 1Password for Teams

WebCrypto APIs:

subtle.generateKey
subtle.exportKey
subtle.importKey
subtle.deriveBits
subtle.encrypt
subtle.decrypt
subtle.digest

Algorithms:

  • SHA-256
  • AES-GCM
  • RSA_OAEP_256
  • PBKDF-2 (optional)
@robyoder
Copy link

We also need String.prototype.normalize (not WebCrypto, I know, but essential)

@robyoder
Copy link

Ooh, WebKit just added it 4 weeks ago! http://trac.webkit.org/changeset/191235

Time for a Safari update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment