Protepad
========
Copyright (C) Inlined 2016-2022
About
=====
Protepad is GUI Python script to encode and decode texts with password.
Encoded text is in Base64 encoding and can be pasted online.
Features:
* Strong encryption with 256-bit AES
* Key derivation function (KDF) converts password to 256-bit key
* KDF adds protection against password guessing
* Password is not stored anywhere
* No magic bytes, harder to detect that entered password is correct
* Support for Unicode messages
Please be aware:
* When password is lost, messages can't be decoded back without brute-force
* Wrong password can generate garbage output
* Brute-force is still possible by frequency analysis (i.e. space characters, etc)
Why
===
There are a lot of tools like this, including online. The goal is to have
very small and transparent script that can work offline and with minimal
environment that can be compromised (there are good articles on why browser
JS is no good for encryption). Going paranoid, one can run this script on
disconnected hardware.
Usage
=====
Python 3 is required.
Be sure to install two dependencies before use (use pip or check online on how to do it):
* wxPython
* cryptography
Then, run main script with:
python protepad.py
1. GUI will open new window
2. Enter password
3. Enter text to encrypt
4. Click on ">>" button
5. Click on Copy button, paste text to your desired location
6. Later to decrypt, paste the encrypted text and click "<<"
7. If password is correct, decoded text will be in "Source" text area