Base32 class

Constructors

Base32()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

decode(String base32) Uint8List
Takes in a base32 string and decodes it back to a Uint8List that can be converted to a hex string using Crypto.bytesToHex().
encode(Uint8List bytes) String
Takes in a list of bytes converts it to a Uint8List so that one can run bit operations on it, then outputs a base32 String representation.
encodeHexString(String hex) String
Takes in a hex string, converts the string to a byte list and runs a normal encode() on it. Returns a String representation of the base32.