Sha256 class

SHA-256 hash function (FIPS 180-4).

Produces a 256-bit (32-byte) hash value. Used in BIP-39 for mnemonic checksum calculation.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

doubleHash(Uint8List data) Uint8List
Computes double SHA-256: SHA256(SHA256(data)).
hash(Uint8List data) Uint8List
Computes SHA-256 hash of the input data.
override