https://github.com/er28-0652/securestring
Windows SecureString wrapper written by Python
https://github.com/er28-0652/securestring
python3 securestring windows
Last synced: 4 months ago
JSON representation
Windows SecureString wrapper written by Python
- Host: GitHub
- URL: https://github.com/er28-0652/securestring
- Owner: er28-0652
- License: mit
- Created: 2019-02-24T14:23:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-02T13:08:47.000Z (about 5 years ago)
- Last Synced: 2025-06-25T09:47:27.208Z (5 months ago)
- Topics: python3, securestring, windows
- Language: Python
- Size: 6.84 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://ci.appveyor.com/project/er28-0652/securestring)
# securestring
Windows SecureString wrapper written by Python.
This script uses PowerShell as a backend, thus available only in Windows.
## Install
```bash
$ pip install py-securestring
```
## Usage
use as module
```python
from securestring import securestring
plain_text = 'tesuya'
enc = securestring.encrypt(plain_text)
dec = securestring.decrypt(enc)
# tesuya
```
use from commandline
```bash
python -m securestring encrypt tesuya
```