A wrapper for cryptography.fernet
Project description
python-cryptography-fernet-wrapper
usage
-
Importing
pip install python-cryptography-fernet-wrapper
from python-cryptography-fernet-wrapper.wrapper import wrapper as fernet_wrapper
-
Encrypt
encrypted_data = fernet_wrapper.encrypt(data, key)
-
Decrypt
decrypted_data = fernet_wrapper.decrypt(encrypted_data, key)
-
Generate random key
key = fernet_wrapper.gen_key()
-
Generate key from password
key = fernet_wrapper.key_from_pass(password)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for python-cryptography-fernet-wrapper-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70a2274b3eadb5ee78f0d820ac09fd42e4ed681c26bee61f9e6d3886f3b8f207 |
|
MD5 | 61c976f81c3b7992bc8de5b505110e3c |
|
BLAKE2b-256 | 13716f2d3b6f3ebed0d8fc28c7406bb5a265696ca6ec94d208289063d6e0847a |
Close
Hashes for python_cryptography_fernet_wrapper-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26397dc820b6755d733cfccba4da6b2aa0be57231079469fd900d02db85eea12 |
|
MD5 | c5fb736bdca9affe763d864518125aed |
|
BLAKE2b-256 | 8055ecc3d517840b271b7a7cc3a1a97047385b5d6cd7f1641efbc397f7f17498 |