MD5
abstract class
MD5 hash function implementation.
WARNING: MD5 has known collisions and should only be used when
required for backwards compatibility.
abstract class MD5 implements Hash {
factory MD5() => new _MD5();
}
Implements
Hash
Constructors
factory MD5() #
factory MD5() => new _MD5();
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.