encryption/encryption_strategy library

Enums

EncryptionStrategy
Encryption strategy. Preference should be EncryptionStrategy.aes256Gcm for symmetric encryption and EncryptionStrategy.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