SubtleCrypto

SubtleCrypto is meant to be a standard interface to the Web Crypto API.

getRandomValues will populate a given typed array with random values. Encrypt data with the public key and decrypt it with the private key. Export a CryptoKey to JSON Web Key (jwk) format.