DataEncryptionKey class
An encryption key intended for use in Aes/Symmetric key encryption
- Implemented types
Constructors
- DataEncryptionKey.generate(int byteLength)
- Create a new random data encryption key
-
DataEncryptionKey.loadFromBytes(List<
int> bytes) - Convert raw key bytes into a DataEncryptionKey
- DataEncryptionKey.loadFromSerialized(String base64)
- Convert a key encoded as base64 from serialize into a DataEncryptionKey
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → String - Encode a key in a human-readable and url-safe format. Can be reloaded with DataEncryptionKey.loadFromSerialized
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited