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