Bech32Utils class

A utility class containing methods for converting data to and from bech32 encoding.

Constructors

Bech32Utils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

computeChecksum(String hrp, List<int> data, [Bech32Encodings encoding = Bech32Encodings.bech32]) List<int>
Compute the checksum from the specified HRP and data.
hrpExpand(String hrp) List<int>
Expand the HRP into values for checksum computation.
polyMod(List<int> values) int
Computes the polynomial modulus.
verifyChecksum(String hrp, List<int> data, [Bech32Encodings encoding = Bech32Encodings.bech32]) bool
Verify the checksum from the specified HRP and converted data characters.