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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file htmlcrypt-0.2.2.tar.gz.
File metadata
- Download URL: htmlcrypt-0.2.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b256c5a328e9c5885b2a1537c331ae6ef9e1b166242663e184d2d5cf93e32de1
|
|
| MD5 |
6c9b0dafe138b0138ada50571d9b9dd6
|
|
| BLAKE2b-256 |
689033eac01b21db1e3a09b2385c984ebbc0cf18291b49138670c2d9f1c2dec2
|
File details
Details for the file htmlcrypt-0.2.2-py3-none-any.whl.
File metadata
- Download URL: htmlcrypt-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18b383e660a9726574e9c97f32e44acd7640b45568036a0d0d3bedf88287c332
|
|
| MD5 |
5fef8b989bb1f633ca44f47b3f8f53c7
|
|
| BLAKE2b-256 |
fba91ac91a1574cbec3a2cc56065b5a4f174b99fd2c5ebe0e5440efcd7939947
|