Skip to main content
This release is 8 versions behind 1.0.4 — the latest version of @std/crypto. Jump to latest

@std/crypto@0.222.0
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
a year ago (0.222.0)

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

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