usencrypt.decrypt#
- usencrypt.decrypt(e_x)#
Decrypts the encrypted object \(E(x)\), returning the original non-encrypted \(x\).
- Parameters
e_x (any encrypted object) – The encrypted input value.
- Returns
The original, non-encrypted \(x\).
- Return type
Any supported encryptable type.
- Raises
RuntimeError
if the underlying type is unrecognized.
See also
- Examples
>>> import usencrypt as ue >>> a = 0.875 >>> a_ue = ue.encrypt(a) >>> a_ue (0x7f018c4bb820) Float: 0x48f1264b8efd20050fa992bd552604292359e1ddd06acbbf65cba92b015af317 >>> a_decrypted = ue.decrypt(a_ue) >>> a_decrypted 0.875