/pyencrypt

Encrypt/decrypt messages with Python Fernet library.

Primary LanguagePythonMIT LicenseMIT

pyencrypt

Python script to generate keys and encrypt/decrypt messages with the Fernet library.

usage:

Generate a private key file: python3 pyencrypt.py -g -k KEYFILE

Encrypt a message: python3 pyencrypt.py -k KEYFILE -e MESSAGE_TO_ENCRYPT

Decrypt a message: python3 pyencrypt.py -k KEYFILE -d MESSAGE_TO_DECRYPT