encryption_strategy library Null safety
Extensions
- MapToService
- Convert an EncryptionStrategy into its respective EncryptionService.
Functions
-
encryptionStrategyFromString(
String strategy) → EncryptionStrategy - Given a string from Cryppo's seralization format, return the corresponding EncryptionStrategy
Enums
- EncryptionStrategy
-
Encryption strategy. Preference should be
EncryptionStrategy.aes256Gcm
for symmetric encryption andEncryptionStrategy.rsa4096
for asymmetric encryption.