INNER CODE UNIT · Dart
Key
leocavalcante/encrypt · lib/src/encrypted.dart:91
class Key extends Encrypted {
/// Creates an Encryption Key object from a Uint8List.
Key(Uint8List bytes) : super(bytes);
/// Creates an Encryption Key object from a hexdecimal string.
Key.fromBase16(String encoded) : super.fromBase16(encoded);
/// Creates an Encryption Key object from a Base64 string.
Key.fromBase64(String encoded) : super.fromBase64(encoded);
/// Creates an Encryption Key object from a UTF-8 string.
Key.fromUtf8(String input) : super.fromUtf8(input);
/// Creates an Encryption Key object from a length.
/// The key is filled with [length] bytes generated by a
/// Random.secure() generator
Key.fromLength(int length) : super.fromLength(length);