Tool for encrypting HTML files and generating JavaScript to decrypt it
Project description
HTMLCrypt
Inspired/Based on MaxLaumeister/PageCrypt.
Usage
decrypt.html
decrypts content.html.encrypted
from same folder. Change const encryptedFileName = 'content.html.encrypted';
to change to a different filename.
Use htmlcrypt -p $PASS -o content.html.encrypted input_file.html
to encrypt input_file.html
with password from $PASS
.
usage: htmlcrypt [-h] [-p PASSWORD] [-e ENCRYPTED] [-d DECRYPT] [-f] file
Encrypt HTML file with password
positional arguments:
file File to encrypt
options:
-h, --help show this help message and exit
-p PASSWORD, --password PASSWORD
Password for encrypting/decrypting. Will ask for password from stdin if not specified
-e ENCRYPTED, --encrypted ENCRYPTED
Encrypted filename
-d DECRYPT, --decrypt DECRYPT
Location to generate the decryption .html file. Relative path to encrypted file will be injected into file.
-f, --force Overwrite existing output file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
htmlcrypt-0.2.2.tar.gz
(8.5 kB
view hashes)
Built Distribution
Close
Hashes for htmlcrypt-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18b383e660a9726574e9c97f32e44acd7640b45568036a0d0d3bedf88287c332 |
|
MD5 | 5fef8b989bb1f633ca44f47b3f8f53c7 |
|
BLAKE2b-256 | fba91ac91a1574cbec3a2cc56065b5a4f174b99fd2c5ebe0e5440efcd7939947 |