An open API service indexing awesome lists of open source software.

https://github.com/pythonnut/cryptomissive

:email: A simple encrypted HTML wrapper
https://github.com/pythonnut/cryptomissive

Last synced: 6 months ago
JSON representation

:email: A simple encrypted HTML wrapper

Awesome Lists containing this project

README

          

CryptoMissive
=============

This is a simple JS wrapper for HTML that encrypts its contents. It's useful to those who already possess a secret key.

Usage
=====

Producing CryptoMissives is easy, thanks to the automated `python` script.

```bash
$ git clone https://github.com/PythonNut/cryptomissive
$ cd cryptomissive
```

You will need a working copy of `openssl`, `python3` and a web browser.

Now, make your message. The format of the message is the `` of an HTML document.

```bash
$ emacs plaintext.html # wonderful magic happens here, BTW
$ cat plaintext.html
Yo dude. This message be secret.
```

And finally, produce the _uber secret_ message of doom and destruction!

```bash
$ python cryptomissive_generator.py -i plaintext.html -o ciphertext.html
encrypting plaintext.html ⇒ ciphertext.html...
Please type a secret key: ***************
Please re-enter your key: ***************
Keys match.
done.
```

And hark! Your new messenger of secrecy has come into being! Navigate to that file in any modern web browser and see for yourself.

![screenshot](screenshot.png)