Extensions to the Web Crypto supporting additional encryption APIs, but also delegating to the built-in APIs when possible.
import { crypto } from "@std/crypto/crypto"; const message = "Hello, Deno!"; const encoder = new TextEncoder(); const data = encoder.encode(message); await crypto.subtle.digest("BLAKE3", data);
Add Package
deno add jsr:@std/crypto
Import symbol
import * as crypto from "@std/crypto";
---- OR ----
Import directly with a jsr specifier
import * as crypto from "jsr:@std/crypto";
Add Package
bunx jsr add @std/crypto
Import symbol
import * as crypto from "@std/crypto";