TNO PET Lab
The TNO PET Lab consists of generic software components, procedures, and functionalities developed and maintained on a regular basis to facilitate and aid in the development of PET solutions. The lab is a cross-project initiative allowing us to integrate and reuse previously developed PET functionalities to boost the development of new protocols and solutions.
The package tno.mpc.encryption_schemes.templates v1.0.3 is part of the TNO Python Toolbox.
tno.mpc.encryption_schemes.templates’s documentation
- templates package
- templates.asymmetric_encryption_scheme module
AsymmetricEncryptionScheme
AsymmetricEncryptionScheme.__init__()
AsymmetricEncryptionScheme.from_public_key()
AsymmetricEncryptionScheme.from_security_parameter()
AsymmetricEncryptionScheme.generate_key_material()
AsymmetricEncryptionScheme.get_instance_from_public_key()
AsymmetricEncryptionScheme.get_instance_from_sec_param()
AsymmetricEncryptionScheme.id_from_sec_param()
AsymmetricEncryptionScheme.public_key
AsymmetricEncryptionScheme.secret_key
PublicKey
SecretKey
- templates.encryption_scheme module
Ciphertext
EncodedPlaintext
EncryptionScheme
EncryptionScheme.__init__()
EncryptionScheme.add()
EncryptionScheme.decode()
EncryptionScheme.decrypt()
EncryptionScheme.encode()
EncryptionScheme.encrypt()
EncryptionScheme.from_security_parameter()
EncryptionScheme.generate_key_material()
EncryptionScheme.get_instance()
EncryptionScheme.id_from_arguments()
EncryptionScheme.mul()
EncryptionScheme.neg()
EncryptionScheme.pow()
SupportsNeg
- templates.randomized_encryption_scheme module
RandomizableCiphertext
RandomizedEncryptionScheme
Randomness
Randomness.__init__()
Randomness.__len__()
Randomness.add_generation_worker()
Randomness.boot_generation()
Randomness.default_shutdown_timeout
Randomness.file_worker()
Randomness.generation_worker()
Randomness.get_one()
Randomness.safe_print()
Randomness.shut_down()
Randomness.start_generating()
Randomness.stop_generating()
- templates.symmetric_encryption_scheme module
- templates.asymmetric_encryption_scheme module