mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
parent
48d7fd5b01
commit
504bb0b1ce
@ -7,6 +7,16 @@
|
||||
* supporting additional encryption APIs, but also delegating to the built-in
|
||||
* APIs when possible.
|
||||
*
|
||||
* ```ts
|
||||
* import { crypto } from "https://deno.land/std@$STD_VERSION/crypto/crypto.ts";
|
||||
*
|
||||
* const message = "Hello, Deno!";
|
||||
* const encoder = new TextEncoder();
|
||||
* const data = encoder.encode(message);
|
||||
*
|
||||
* await crypto.subtle.digest("BLAKE3", data);
|
||||
* ```
|
||||
*
|
||||
* @module
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user