Skip to main content
Module

std/crypto/mod.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.152.0/crypto/mod.ts";

Extensions to the Web Crypto supporting additional encryption APIs.

Provides additional digest algorithms that are not part of the WebCrypto standard as well as a subtle.digest and subtle.digestSync methods. It also provide a subtle.timingSafeEqual() method to compare array buffers or data views in a way that isn't prone to timing based attacks.

The "polyfill" delegates to WebCrypto where possible.

Variables

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

Interfaces

Extensions to the Web Crypto interface.

Extensions to the web standard SubtleCrypto interface.