congress.encryption module¶
Encryption module for handling passwords in Congress.
-
exception
congress.encryption.
InvalidToken
¶ Bases:
cryptography.fernet.InvalidToken
-
congress.encryption.
create_new_key_file
()¶
-
congress.encryption.
decrypt
(string)¶
-
congress.encryption.
encrypt
(string)¶
-
congress.encryption.
initialize_if_needed
()¶ initialize key if not already initialized.
-
congress.encryption.
initialize_key
()¶ initialize key.
-
congress.encryption.
key_file_exists
()¶
-
congress.encryption.
read_key_from_file
()¶