Skip to main content

@std/crypto@1.0.3
Built and signed on GitHub Actions

Extensions to the Web Crypto API

This package works with Deno, BrowsersIt is unknown whether this package works with Bun
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
100%
Published
3 months ago (1.0.3)

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);
Built and signed on
GitHub Actions
View transparency log

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";