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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64681f8b0ef9944f1388a234c87fccf940742786abfbdcbce6653cf4657e9b18 |
|
MD5 | d1a13fa2b58f96d449e9da9f7a3f0be2 |
|
BLAKE2b-256 | c12d4372e07e19438b427dfbfa16371b203224b615abf5e6aafc0aabaac9747b |