Dart API Referencedart:cryptoSHA1

SHA1 interface

SHA1 hash function implementation.

interface SHA1 extends Hash default _SHA1 {
  SHA1();
}

Extends

Hash

Constructors

new SHA1() #

SHA1();

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);