SHA1
abstract class
SHA1 hash function implementation.
abstract class SHA1 implements Hash {
factory SHA1() => new _SHA1();
}
Implements
Hash
Constructors
factory SHA1() #
factory SHA1() => new _SHA1();
Properties
final int blockSize #
Internal block size of the hash in bytes.
This is exposed for use by the HMAC class which needs to know the
block size for the Hash it is using.
int get blockSize;
Methods
abstract dynamic add(List<int> data) #
Add a list of bytes to the hash computation.
abstract List<int> close() #
Finish the hash computation and extract the message digest as
a list of bytes.
abstract Hash newInstance() #
Returns a new instance of this hash function.