Library for authenticated encryption used with Trustpilot
Project description
Library for authenticated encryption used with Trustpilot.
Install
pip install trustpilot_authenticated_encryption
Usage
To encrypt a message
from trustpilot_authenticated_encryption import encryption message = 'this is the secret message' encrypt_key = "g9hH6MkVnlKlGa5IG+5R/uKgyrCJxOsh5fXlwK0mjH0=" hash_key = "oGmd/bHHkd+N6P6lZQxyfikjU7c5P/mhWO/noCsERyY=" encrypted_message = encryption.encrypt(message.encode("utf-8"), encrypt_key, hash_key)
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
Close
Hashes for trustpilot_authenticated_encryption-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12a02d626818d32e2313e9511b0e583e98837f59202a1d53a30f76bcef35df3d |
|
MD5 | 4be70649b11d6e92b1883f98a1c99bdb |
|
BLAKE2b-256 | ea605f8e49da52a0e30d64ce2e1413dc8ef6568dc39378117398981168916bb8 |