hashKeyBytes static method
convert bytes (ED25519, Secp256k1 or multisig key data) to address with specify scheme
Implementation
static List<int> hashKeyBytes({
required List<int> bytes,
required int scheme,
}) {
bytes = [...bytes, scheme];
bytes = QuickCrypto.sha3256Hash(bytes);
return bytes;
}