SDK to integrate Phase in server-side applications running Python
pip install phase-dev
from phase import Phase;
Initialize the SDK with your APP_ID
and APP_SECRET
:
phase = Phase(APP_ID, APP_SECRET)
ciphertext = phase.encrypt("hello world");
plaintext = phase.decrypt(ciphertext);