The Web Crypto API provides a set of low-level functions for common cryptographic tasks. The Workers runtime implements the full surface of this API, but with some differences in the supported algorithms compared to those implemented in most browsers.

Cloudflare Docs Reference

Constructors

Properties

Accessors

Methods

Constructors

Properties

DigestStream: typeof DigestStream

Accessors

Methods

  • Type Parameters

    • T extends
          | Int8Array
          | Uint8Array
          | Int16Array
          | Uint16Array
          | Int32Array
          | Uint32Array
          | BigInt64Array
          | BigUint64Array

    Parameters

    • buffer: T

    Returns T

  • Available only in secure contexts.

    MDN Reference

    Returns string