hash160 function

List<int> hash160(
  1. List<int> bytes
)

Implementation

List<int> hash160(List<int> bytes) {
  List<int> shaHash = new SHA256Digest().process(Uint8List.fromList(bytes));
  var ripeHash = new RIPEMD160Digest().process(shaHash as Uint8List);
  return ripeHash.toList();
}