Key class

Represents an Encryption Key.

Inheritance

Constructors

Key(Uint8List bytes)
Key.fromBase16(String encoded)
Key.fromBase64(String encoded)
Key.fromLength(int length)
Key.fromSecureRandom(int length)
Key.fromUtf8(String input)

Properties

base16 String
Gets the Encrypted bytes as a Hexdecimal representation.
no setterinherited
base64 String
Gets the Encrypted bytes as a Base64 representation.
no setterinherited
bytes Uint8List
Gets the Encrypted bytes.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
length int
no setter
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
stretch(int desiredKeyLength, {int iterationCount = 100, Uint8List salt}) Key
toString() String
A string representation of this object.
inherited

Operators

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