/securestring

Windows SecureString wrapper written by Python

Primary LanguagePythonMIT LicenseMIT

Build status

securestring

Windows SecureString wrapper written by Python.
This script uses PowerShell as a backend, thus available only in Windows.

Install

$ pip install py-securestring

Usage

use as module

from securestring import securestring

plain_text = 'tesuya'

enc = securestring.encrypt(plain_text)

dec = securestring.decrypt(enc)
# tesuya

use from commandline

python -m securestring encrypt tesuya