pereorga / minimalist-web-notepad

Minimalist Web Notepad
https://notes.orga.cat
1.13k stars 282 forks source link

End-to-end encryption #41

Closed darkdragon-001 closed 4 years ago

darkdragon-001 commented 4 years ago

If a fragment (#something) is appended to the URL, this should be used for encryption. It can be completely implemented using Web Crypto API (SubtleCrypto) and thus only increases size by very few lines of code.

I can provide you some sample code, once my question on StackExchange is answered.

It would also be possible to use a human-readable password which the users has to enter in a textbox such that it is not shown on screenshots. Key derivation should be used in this case.