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

x/proc/tools/deps/crypto.ts

A better way to work with processes in Deno.
Go to Latest
import * as proc from "https://deno.land/x/proc@0.21.5/tools/deps/crypto.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

When checking the values of cryptographic hashes are equal, default comparisons can be susceptible to timing based attacks, where attacker is able to find out information about the host system by repeatedly checking response times to equality comparisons of values.

f
toHashString
deprecated

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.