This tool securely password-protects HTML files from the command line using Python3.
Run: pip3 install -r requirements.txt
Run: python3 encrypt.py filename [passphrase]
The first, mandatory parameter is the name of the file you want to encrypt.
It is also possible to give the passphrase as the second parameter. If there is
no passphrase provided at start, the script will ask for it while running.
- Python3 and Pip3
- pycryptodome for AES. (pycrypto is deprecated)
- Python version of pbkdf2:
pip3 install pbkdf2