Deno 1.14 extends Web Crypto API
Deno 1.14, the latest update to the TypeScript/JavaScript runtime and rival to Node.js, features a number of new additions to the Web Crypto API. The Web Crypto API is a standard JavaScript API for performing cryptographic operations such as hashing, signature generation, and encryption and decryption. Published September 14, Deno 1.14 adds crypto.subtle.exportKey(), which enables HMAC (Hash-based Messaging Authentication Code) keys to be exported in both JWK (Json Web Key) and “raw” formats, and allows RSA keys to be exported in pkcs#8 format. Release notes cite a number of other new Web Crypto APIs including crypto.subtle.encrypt() and crypto.subtle.decrypt(), which support RSA-OAEP (Optimal Asymetric Encryption Padding).To read this article in full, please click here
Deno 1.14, the latest update to the TypeScript/JavaScript runtime and rival to Node.js, features a number of new additions to the Web Crypto API. The Web Crypto API is a standard JavaScript API for performing cryptographic operations such as hashing, signature generation, and encryption and decryption.
Published September 14, Deno 1.14 adds crypto.subtle.exportKey()
, which enables HMAC (Hash-based Messaging Authentication Code) keys to be exported in both JWK (Json Web Key) and “raw” formats, and allows RSA keys to be exported in pkcs#8 format. Release notes cite a number of other new Web Crypto APIs including crypto.subtle.encrypt()
and crypto.subtle.decrypt()
, which support RSA-OAEP (Optimal Asymetric Encryption Padding).