backend.globaleaks.tests.utils.test_crypto

Module Contents

Classes

TestCryptoUtils
backend.globaleaks.tests.utils.test_crypto.password = b'password'[source]
backend.globaleaks.tests.utils.test_crypto.message = b'message'[source]
backend.globaleaks.tests.utils.test_crypto.salt = wHMeI9jZ1/hVAfpJliXC3Q==[source]
backend.globaleaks.tests.utils.test_crypto.hash_argon2 = 83xya+Pxc3w4d7Ry2LHUE28qLVP2Sa4DULo8joMrpL8=[source]
backend.globaleaks.tests.utils.test_crypto.hash_scrypt = d239b00f2aca9cfb701b5db587fa0d61efde13a3a35bac81aac116bcad3d6d7dc38c2a65db1ca74d295f7b8b267ca26e266121cd110fc31feefeba6c952097a8[source]
class backend.globaleaks.tests.utils.test_crypto.TestCryptoUtils[source]

Bases: globaleaks.tests.helpers.TestGL

test_generate_key(self)[source]
test_generate_keypair(self)[source]
test_derive_key(self)[source]
test_crypto_generate_key_encrypt_decrypt_key(self)[source]
test_crypto_generate_encrypt_decrypt_message(self)[source]
test_check_password_argon2(self)[source]
test_check_password_scrypt(self)[source]
test_encrypt_and_decrypt_file(self)[source]
test_recovery_key(self)[source]