principal/principal library

Constants

alphabet → const String
ANONYMOUS_SUFFIX → const int
MAX_LENGTH_IN_BYTES → const int
SELF_AUTHENTICATING_SUFFIX → const int
TYPE_OPAQUE → const int

Properties

lookUpTable Uint32List
getter/setter pair

Functions

base32Decode(String input) Uint8List
@param input The base32 encoded string to decode.
base32Encode(Uint8List input) String
@param input The input array to encode. @returns A Base32 string encoding the input.
fromHexString(String hexString) Uint8List
getCrc32(ByteBuffer buf) int
Calculate the CRC32 of a blob. @param buf The blob to calculate the CRC32 of.
sha224Hash(ByteBuffer buf) Uint8List
toHexString(Uint8List bytes) String