/Cryptical

Secure container for your files made in Python with love.

Primary LanguagePythonOtherNOASSERTION

Cryptical

Python 2.7 License

This python program provides a secure container for your files using AES 256 with PKCS#7 padding for the files encryption, RSA-OAEP for the AES key encryption and RSA-PSS for the signature of the archive. It is also an API you can use for encryption, decryption and signature operations.

Locking mechanism :

alt tag

Unlocking mechanism :

alt tag

Getting Started

Prerequisities

This tool works with Python 2.7 and the library pycrypto.

pip install pycrypto

Examples

Generate RSA key pair if you need one :

python cryptical.py --gen 4096

Lock your files in a secure container :

python cryptical.py --lock file1.txt file2.txt --keys priv.pem pub.pem --output archive

Lock your files in a secure container and securely delete them :

python cryptical.py --lock file1.txt file2.txt --keys priv.pem pub.pem --output archive --delete

Unlock your secure container :

python cryptical.py --unlock archive.lkd --keys priv.pem pub.pem

Authors

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details