For symmetic encryption, you can use the following:
To encrypt:
openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt
To decrypt:
| license: mit |
| 0 | |
| 01 | |
| 02 | |
| 03 | |
| 0_ | |
| 1 | |
| 10 | |
| 100 | |
| 101 | |
| 102 |
| #!/usr/bin/env python | |
| """ | |
| LICENSE http://www.apache.org/licenses/LICENSE-2.0 | |
| """ | |
| import argparse | |
| import datetime | |
| import sys | |
| import time | |
| import threading |