webcrypto-examples
webcrypto-examples copied to clipboard
Web Cryptography API Examples Demo: https://diafygi.github.io/webcrypto-examples/
The "DH - importKey" example already uses a raw key, so it is unnecessary to add "raw would be an ArrayBuffer"
Changed the comment to help with confusion around optional parameters for IE and Edge
Added documentation of HKDF and removed trailing commas.
Hi, I am trying to use RSA public key using RSACryptoServiceProvider and use it for encryption through window.crypto.subtle but ending with Cryptography_OAEPDecoding upon decryption. //Generating public key: var cspParams =...
Hi @diafygi, thanks for sharing the examples! Is it possible to use a key pair to encrypt / decrypt and sign / verify?
CONCAT was removed from webcrypto.
Does webcrypto allow for the deterministic generation of RSA key pairs from a seed?
These are according to the HKDF spec: https://tools.ietf.org/html/rfc5869 There is a extract and a expand phase. The `salt` (aka `label`) is used in the extract phase: HKDF-Extract(salt, IKM) -> PRK...
Hi, All the functions that produce "jwk" produce ArrayBuffer, which is clearly different (a bigger) than the "raw" key, but it's always ArrayBuffer object and not something I appear to...