addressBSForPublicKey function
Implementation
Uint8List addressBSForPublicKey(RSAPublicKey publicKey) {
var publicKeyBS = encodePublicKeyToPKIX(publicKey);
var d = sha256.convert(publicKeyBS);
return Uint8List.fromList(d.bytes.sublist(0, 30));
}