Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/crypto/mod.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.198.0/crypto/mod.ts";

Provides the KeyStack class which implements the KeyRing interface for managing rotatable keys.

Classes

A cryptographic key chain which allows signing of data to prevent tampering, but also allows for easy key rotation without needing to re-sign the data.

Variables

An wrapper for WebCrypto adding support for additional non-standard algorithms, but delegating to the runtime WebCrypto implementation whenever possible.

Functions

Compare to array buffers or data views in a way that timing based attacks cannot gain information about the platform.

Converts a hash to a string with a given encoding.

Interfaces

Extensions to the Web Crypto interface.

Extensions to the web standard SubtleCrypto interface.

Type Aliases

Types of data that can be signed cryptographically.

Types of keys that can be used to sign data.