Hyperlinkv0.8.0-beta.28

Crypto

Crypto.DigestAlgorithmtypeeffect/Crypto.ts:37
DigestAlgorithm

Digest algorithms supported by the platform Crypto service.

Gotchas

SHA-1 is included for interoperability with existing protocols. Do not use SHA-1 for new security-sensitive designs.

Example (Using a digest algorithm)

import { Crypto } from "effect"

const algorithm: Crypto.DigestAlgorithm = "SHA-256"
models
Source effect/Crypto.ts:371 lines
export type DigestAlgorithm = "SHA-1" | "SHA-256" | "SHA-384" | "SHA-512"
Referenced by 2 symbols