Python SDK for Phase
Project description
Python SDK for Phase
SDK to integrate Phase in server-side applications running Python
Install
pip install phase-dev
Import
from phase import Phase;
Initialize
Initialize the SDK with your APP_ID
and APP_SECRET
:
phase = Phase(APP_ID, APP_SECRET)
Usage
Encrypt
ciphertext = phase.encrypt("hello world");
Decrypt
plaintext = phase.decrypt(ciphertext);
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
phase_dev-1.1.0.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for phase_dev-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55994526d725ee7d671a78c8c1b285b38142364dc00df12babcc8cba2f8ee2d4 |
|
MD5 | 0001ff82a7dc6d3f568f0072c87460ec |
|
BLAKE2b-256 | 7797a5ac78c2647ee85c63fe1742b55e2127e716e681408ec7e9d3fedb87e12c |