Hongmu Notes

🔐 Encrypted Notepad

Enter the text you want to save and a custom password. The tool uses the browser's built-in AES-GCM to locally encrypt and output a Base64 ciphertext. Paste the ciphertext back and enter the same password to restore the original text. There is no network request in the whole process, and the password and plaintext do not leave the machine.
100% Browser local processing 0 Data upload

🔐 Text and Password

0Output length (characters)
0Key derivation rounds
-integrity check

💡 Instructions for use

  • The password is used locally only: used to derive keys, not sent to any server, nor written to local storage.
  • A new random salt and initialization vector will be generated each time during encryption. It is normal for the same plaintext to be encrypted twice to obtain different ciphertexts.
  • Decryption requires exactly the same password and complete ciphertext: one missing character will cause the integrity check to fail, and the tool will clearly prompt instead of outputting garbled characters.
  • This secret text is suitable for pasting into notes or chat tools for saving; please remember the password separately, as it cannot be recovered if lost.

🔐 Why use AES-GCM

AES-GCM is a symmetric encryption mode with authentication: it generates an authentication label while encrypting. When decrypting, it will first verify whether the ciphertext has been modified. If the verification fails, an error will be reported directly. Compared with the mode that only encrypts without authentication, it can block tampering and forgery, so it is more suitable for saving data such as notes that need to be saved for a long time.

Authentication encryption will first verify and then decrypt: if the ciphertext is changed by one character, it will fail and no confusing plaintext will be output.

🔑 What does PBKDF2 do?

The passwords entered by people are usually very short and are not strong enough to be used directly as keys. PBKDF2 mixes the password with a random salt into a 256-bit key through a large number of hashing iterations, making brute force guessing exponentially more expensive. The higher the number of iterations, the harder it is to crack, but the encryption and decryption are also slower. The tool uses a fixed number of rounds to strike a balance between security and speed.

Salt allows the same password to derive different keys on different devices, preventing batch cracking of rainbow tables.

📦 What is included in the ciphertext?

The output Base64 string contains the salt, initialization vector and ciphertext itself in turn, and the authentication tag is processed together by the algorithm. There is no need to pass additional parameters when decrypting, just paste the entire string back and enter the password. Because the salt and vector are random each time, the results of two encryptions of the same text are different, which does not affect mutual decryption.

The ciphertext must be copied in its entirety: copying only half of it will cause parsing to fail and look like a password error.

✅ What is suitable for encryption

It is suitable for saving text such as account notes, private records, and temporary passwords that have a small capacity and need to be saved offline. It is not suitable for encrypting very large files, because the browser has to process it in memory at once; it is also not suitable for long-term storage of the most important credentials, and there is no way to retrieve the password if it is lost. It is recommended to back up passwords offline for important content.

The security of this ciphertext depends entirely on the strength of the password: short passwords can be tried out with a dictionary.

🔗 All keywords and tutorials

Keywords page of the tool12a

Return to tool home page

❓ FAQ

Can the results be used directly for declaration??
This tool is used to save private text and does not involve declaration materials. Please do not use it to replace the formal encrypted archiving solution.
Will the data be uploaded??
No. Encryption and decryption are done within the browser, without any network requests for passwords and text.
Can I retrieve my password if I lose it??
No. The password is not saved and the password cannot be restored if forgotten. Please back up the password yourself.
Is it normal for the same text to be encrypted twice and the results to be different??
Normal. A new random salt and initialization vector are generated each time, so the ciphertext is different but can be decrypted with the same password.
Where can the cipher text be placed??
You can put it in notes, chat records or email drafts. Be careful to copy the entire string, not just a part.
How long text is supported?
It is recommended not to exceed 100,000 characters at a time. Text that is too long will occupy more memory and take longer to process.