addrHashGenerate static method
Generates an address hash from an input byte array. Performs a SHA3-512 hash followed by a RIPEMD160 hash. @param input The input byte array for hashing. @returns The calculated address hash as a byte array.
Implementation
static Uint8List addrHashGenerate(Uint8List input) {
// First pass: SHA3-512
final sha3Hash = MochimoHasher.hashWith('sha3-512', input);
// Second pass: RIPEMD160
return MochimoHasher.hashWith('ripemd160', sha3Hash);
}