Package: effect
Module: Crypto
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"
Signature
type DigestAlgorithm = "SHA-1" | "SHA-256" | "SHA-384" | "SHA-512"
Since v4.0.0