Home

Awesome

sdfgh

<!-- ![](https://gget.it/yfg7/2.png) -->

Why this name?

"sdfgh" are consecutive letters from the second row of a QWERTY or AZERTY keyboard, the kind of letters you type when you need a random name.

What's the goal?

We often hear:

Don't trust an encryption program if it's not open-source

This is true, and here it's even:

"Don't trust my encryption program if you cannot read its source code completely in 5 minutes."

You want to use it this program for your personal notes? Just take 5 minutes to read the ~65 lines of code(*).

Why another lightweight notepad with encryption?

I needed an encrypted notepad for personal notes that has these features:

(*) Ok, you still have to trust the Python official package (I think it's ok) and PyCryptoDome (installed via pip install pycryptodome).

How to use it?

Just run python sdfgh.py. That's all.

License

CC BY-SA 4.0

Contributions

Feel free to post issues. NB: This project will (probably) never be made longer than 100 lines of code, so nearly no new features will be added. (No modular splitting into several .py files will be done, and no re-structuring with Class MyEditor:, etc.)

About this project

This project started as an attempt to write an encryption plugin for Sublime Text (see here) but the integration is not that easy since Sublime Text compares the file on disk with the buffer to determine if there are unsaved changes; if the former is encrypted after saving, the editor always see unsaved changes, and this introduces a lot of small issues.

Author

@JosephErnest on Twitter

More on https://afewthingz.com/sdfghencryptednotepad.