notepadsuite

Security

Last updated 2026-12-03. What we encrypt, what we can see, and how to check our claims instead of trusting them.

In short

Encryption happens in your browser, with the standard Web Cryptography API1. The code that does it is one small file, /assets/crypto.js, published by Sri Murugan Systems under the MIT licence with tests you can run. Its SHA-256 hash is below, so you can check that the file the site serves is the one you read.

What is encrypted, and how

What is not encrypted

What this protects against, and what it doesn’t

It protects you if our database or hosting account is leaked or seized, or if someone at notepadsuite looks at stored data: encrypted notes are ciphertext without the key.

It doesn’t protect you if:

Check it yourself

  1. Read the code. crypto.js is about 100 lines with comments. The open-source copy has the same file, its tests, a README and the MIT licence.
  2. Compare the hash. The crypto file published with this page has this SHA-256 hash:
    3b22c3fdf24119a870ed6352e55091c141b072efdfdbc08d4af5bb7abc477d39
    Check the live file with curl -s https://notepadsuite.com/assets/crypto.js | sha256sum. If the two differ, the file has changed since this page was built.
  3. Run the tests. Download crypto.js and test.mjs into one folder and run node test.mjs (Node 20 or later). The tests encrypt with our code and decrypt with Node’s own OpenSSL-based crypto, and the other way round, and check that PBKDF2 gives the same bits.
  4. Watch the network. Open your browser’s developer tools, choose the Network tab, and create an encrypted share link. The request to /api/share holds ct (ciphertext) and iv, never the key or your text.

Report a problem

If you find a security issue, please write to [email protected] before publishing it, so we can fix it first.

References

  1. W3C, Web Cryptography API
  2. NIST SP 800-38D, Recommendation for GCM (section 5.2.1.1: 96-bit IVs)
  3. RFC 3986, section 3.5 (fragment)
  4. OWASP Password Storage Cheat Sheet