Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

htmlcrypt-0.2.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

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

Hashes for htmlcrypt-0.2.2.tar.gz
Algorithm Hash digest
SHA256 b256c5a328e9c5885b2a1537c331ae6ef9e1b166242663e184d2d5cf93e32de1
MD5 6c9b0dafe138b0138ada50571d9b9dd6
BLAKE2b-256 689033eac01b21db1e3a09b2385c984ebbc0cf18291b49138670c2d9f1c2dec2

See more details on using hashes here.

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

Hashes for htmlcrypt-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 18b383e660a9726574e9c97f32e44acd7640b45568036a0d0d3bedf88287c332
MD5 5fef8b989bb1f633ca44f47b3f8f53c7
BLAKE2b-256 fba91ac91a1574cbec3a2cc56065b5a4f174b99fd2c5ebe0e5440efcd7939947

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page