Dart API Referencedart:cryptoSHA256

SHA256 interface

SHA256 hash function implementation.

interface SHA256 extends Hash default _SHA256 {
  SHA256();
}

Extends

Hash

Constructors

new SHA256() #

SHA256();

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