Uint8List getRCDHashFromPublicKey(Uint8List pubkey, int version) { var r = RCD(); r.pubkey = pubkey; r.version = version; return r.hash(); }