Skip to content

phasehq/python-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Python SDK for Phase

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages