Home Update Deno 1.14 extends Web Crypto API

Deno 1.14 extends Web Crypto API

304
Deno 1.14 extends Web Crypto API


Deno 1.14, the most recent replace to the TypeScript/JavaScript runtime and rival to Node.js, options quite a lot of new additions to the Web Crypto API. The Web Crypto API is a regular JavaScript API for performing cryptographic operations reminiscent of hashing, signature era, and encryption and decryption. 

Published September 14, Deno 1.14 provides crypto.delicate.exportKey(), which allows HMAC (Hash-based Messaging Authentication Code) keys to be exported in each JWK (Json Web Key) and “raw” codecs, and permits RSA keys to be exported in pkcs#eight format. Release notes cite quite a lot of different new Web Crypto APIs together with crypto.delicate.encrypt() and crypto.delicate.decrypt(), which assist RSA-OAEP (Optimal Asymetric Encryption Padding).

The builders of Deno hope to finish Deno’s Web Crypto API assist by the top of the 12 months. Other new options and enhancements in Deno 1.14:

  • The native server-side WebSocket API has been stabilized.
  • An online platform API for matching URLs towards patterns has been launched, referred to as URLPatterncode. Note that this API is at present unstable.
  • Four APIs have been launched for file locking together with Deno.flock, Deno.flockSync, Deno.funlock, and Deno.funlockSync. These APIs, at present unstable, might be important for correct database synchronization.
  • Support is launched for mutual TLS in fetch(). Mutual TLS is a approach to authenticate a shopper to a server.
  • URL parsing is now quicker.
  • TypeScript 4.Four is included, as is the V8 9.Four JavaScript/WebMeeting engine.
  • The std/http module is quicker.
  • Array buffers could be transferred between staff while not having copying, thus rushing up transfers for big buffers.
  • The official Deno Visual Studio Code extension has been up to date. Highlights embody higher configuration assist when utilizing the testing code lens and debug configuration enhancements.

Deno 1.14 follows final month’s launch of Deno 1.13, which stabilized the native HTTP server API.

Copyright © 2021 IDG Communications, Inc.



Source hyperlink

LEAVE A REPLY

Please enter your comment!
Please enter your name here