kaspa/bech32/bech32 library

Classes

Bech32
Bech32 is a dead simple wrapper around a Human Readable Part (HRP) and a bunch of bytes.
Bech32Codec
Bech32Decoder
Bech32Encoder
Bech32Validations
Generic validations for Bech32 standard.

Constants

bech32 → const Bech32Codec
An instance of the default implementation of the Bech32Codec.
charset → const List<String>
generator → const List<int>
separator → const String

Properties

GENERATOR1 List<int>
getter/setter pair
GENERATOR2 List<int>
getter/setter pair

Functions

bytesToWords(Uint8List bytes) Uint8List
Bytes to Words
wordsToBytes(Uint8List words) Uint8List
Words to Bytes