DigestAlgorithm
Represents a digest algorithm used for cryptographic hashing.
Extends
BaseCryptoClass
Properties
SHA256
readonly
static
SHA256:"Sha256"
="Sha256"
The SHA-256 digest algorithm.
SHA384
readonly
static
SHA384:"Sha384"
="Sha384"
The SHA-384 digest algorithm.
SHA512
readonly
static
SHA512:"Sha512"
="Sha512"
The SHA-512 digest algorithm.
Accessors
name
Get Signature
get name():
string
Get the name of the digest algorithm.
Returns
string
The name of the algorithm.
size
Get Signature
get size():
number
Get the size of the digest produced by the algorithm.
Returns
number
The size of the digest in bits.
Last updated: Sep 30, 2025