digestSuffixRipemd160 function
Implementation
Uint8List digestSuffixRipemd160(Uint8List data, String suffix) {
var d = new Uint8List(data.length + suffix.length);
for (var i = 0; i < data.length; ++i) {
d[i] = data[i];
}
for (var i = 0; i < suffix.length; ++i) {
d[data.length + i] = suffix.codeUnitAt(i);
}
var dg = Digest("RIPEMD-160");
return dg.process(d);
}