sha256 function
Creates SHA256 hash of the input.
Implementation
Uint8List sha256(dynamic a) {
a = bytes.toBuffer(a);
Digest sha256 = new Digest("SHA-256");
return sha256.process(a);
}
Creates SHA256 hash of the input.
Uint8List sha256(dynamic a) {
a = bytes.toBuffer(a);
Digest sha256 = new Digest("SHA-256");
return sha256.process(a);
}