Bech32Utils class

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>
hrpExpand(String hrp) → List<int>
Expands the human-readable part into the values the checksum is computed over, per spec: high bits of every character, a zero separator, then low bits of every character.
polyMod(List<int> values) → int
The BIP-173/BIP-350 checksum polynomial modulus.
verifyChecksum(String hrp, List<int> data, [Bech32Encodings encoding = Bech32Encodings.bech32]) → bool