-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Encryption
-
None
encryption.Algorithm currently has two members:
class Algorithm(object): """An enum that defines the supported encryption algorithms.""" Deterministic = "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic" Random = "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
We should rename these because we will almost certainly introduce new Deterministic and Random algorithms in the future:
class Algorithm(object): """An enum that defines the supported encryption algorithms.""" AEAD_AES_256_CBC_HMAC_SHA_512_Deterministic = "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic" AEAD_AES_256_CBC_HMAC_SHA_512_Random = "AEAD_AES_256_CBC_HMAC_SHA_512-Random"