Dart API Referencedart:cryptoMD5

MD5 interface

MD5 hash function implementation.

WARNING: MD5 has known collisions and should only be used when required for backwards compatibility.

interface MD5 extends Hash default _MD5 {
  MD5();
}

Extends

Hash

Constructors

new MD5() #

MD5();

Properties

final int blockSize #

inherited from Hash

Block size of the hash in bytes.

int get blockSize;

Methods

List<int> digest() #

inherited from Hash

Finish the hash computation and extract the message digest as a list of bytes.

List<int> digest();

Hash newInstance() #

inherited from Hash

Returns a new instance of this hash function.

Hash newInstance();

Hash update(List<int> data) #

inherited from Hash

Add a list of bytes to the hash computation.

Hash update(List<int> data);