Skip to main content
Module

std/crypto/README.md

Deno standard library
Go to Latest
File

crypto

Usage

import { crypto } from "https://deno.land/std@0.107.0/crypto/mod.ts";

// This will delegate to the runtime's WebCrypto implementation.
console.log(await crypto.subtle.digest("SHA-384", "hello world"));

// This will use a bundled WASM/Rust implementation.
console.log(await crypto.subtle.digest("BLAKE3", "hello world"));