Function createChecksum

Create a checksum

ubyte[] createChecksum (
  in const(char[]) hrp,
  in const(ubyte[]) values,
  agora.crypto.Bech32.Encoding encoding
) pure nothrow @safe;

Parameters

NameDescription
hrp human redable part
values values to get checksum from
encoding encoding format to encode with

Returns

an checksum