EncryptionStrategy enum Null safety

Encryption strategy. Preference should be EncryptionStrategy.aes256Gcm for symmetric encryption and EncryptionStrategy.rsa4096 for asymmetric encryption.

Inheritance

Constants

aes256Cbc → const EncryptionStrategy

https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Cipher_block_chaining_(CBC)

const EncryptionStrategy(1)
aes256Ctr → const EncryptionStrategy

https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Counter_(CTR)

const EncryptionStrategy(2)
aes256Gcm → const EncryptionStrategy

(Recommended for symmetric encryption) https://en.wikipedia.org/wiki/Galois/Counter_Mode

const EncryptionStrategy(0)
rsa4096 → const EncryptionStrategy

For asymmetric encryption https://en.wikipedia.org/wiki/RSA_(cryptosystem)

const EncryptionStrategy(3)
values → const List<EncryptionStrategy>

A constant List of the values in this enum, in order of their declaration.

const List<EncryptionStrategy>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int
A numeric identifier for the enumerated value. [...]
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