Hide encrypted text chunks inside a normal-looking HTML tech portal.
Project description
htmlcode
htmlcode encrypts text with a password, embeds the ciphertext into hidden
HTML spans, and can later extract and decrypt it.
CLI
htmlcode encrypt --text "Hello" --password pass --output demo.html
htmlcode decrypt --input demo.html --password pass --output decrypted.txt
Defaults:
encrypt --output:demo.htmlencrypt --chunk-size:32decrypt --input:demo.htmlwhen presentdecrypt --output:decrypted.txt
Python API
from htmlcode import decrypt_from_html, encrypt_to_html
html = encrypt_to_html("Hello", "pass")
text = decrypt_from_html(html, "pass")
assert text == "Hello"
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
htmlcode-0.1.0.tar.gz
(7.7 kB
view details)
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 htmlcode-0.1.0.tar.gz.
File metadata
- Download URL: htmlcode-0.1.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
662208cc7272b67ce112b2c2a842658196aee6454e43ca09c4a048f56c90c6ed
|
|
| MD5 |
1ca97ba0c61e4b0626ead55b43a35a3c
|
|
| BLAKE2b-256 |
cfd13070585d0177c7280c6469fe599815b1c9f63bba8f470147091745b048c5
|
File details
Details for the file htmlcode-0.1.0-py3-none-any.whl.
File metadata
- Download URL: htmlcode-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26e3806289742d7a3304bf9d49ba8964c5185b16ea5e6266b5f18dba51a9809b
|
|
| MD5 |
91e4cb5315ec997b85efd18bd1b2843f
|
|
| BLAKE2b-256 |
8e3df239a540ca481b1a8bf446e3f2441dcd21d55f7889624a8bbc8bf7c18e8e
|