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.0.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for phase_dev-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f65f2b603057c2438e0f81b71358cb930ff6dcf496d1bd7ce7d75728824d2b25 |
|
MD5 | 6d22068be2b72b9478c821e1d5503ed3 |
|
BLAKE2b-256 | e2c4f8ad61545d9d7584a531b018ac76b843ca79110b08017e6a5fe416ce30d9 |