Digest class final

A digest algorithm fetched by name from the default provider.

Constructors

Digest.named(String algorithm)
Any digest EVP_MD_fetch knows, e.g. BLAKE2B-512, SHAKE128.
const

Properties

algorithm → String
OpenSSL algorithm name, e.g. SHA2-256.
final
hashCode → int
The hash code for this object.
no setterinherited
length → int
Output length in bytes.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

hash(List<int> data) → Uint8List
Hashes data in one call.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → DigestStream
Begins an incremental hash.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

sha3_256 → const Digest
sha3_512 → const Digest
sha256 → const Digest
sha384 → const Digest
sha512 → const Digest