Hongmu Notes

Crypto salt value is randomly generated

A set of random values is changed for each encryption, so the appearance of the ciphertext is naturally different.
100% Browser local processing 0 Data upload

🔐 Encrypt or decrypt text

Enter length 0 | Output length 0

💡 Instructions for use

  • The exact same password must be used for encryption and decryption, including uppercase and lowercase letters and spaces; the password is not saved and cannot be restored if lost.
  • The ciphertext is a whole paragraph. In addition to the encrypted content, it also contains random values and verification information. When copying, it must be taken completely from the beginning to the end, otherwise the decryption will fail.
  • The ciphertext itself can go through any channel, but the password should be communicated through another channel. Putting the two in the same email or the same message means there is no encryption.
  • Passing the verification only means that the content has not been changed, but does not mean that the source is trustworthy; if you need to confirm the identity of the sender, you should verify it through other channels.

A set of random values is changed for each encryption, so the appearance of the ciphertext is naturally different.

Generation time

Each click on Encrypt will regenerate a set of random values.

The same paragraph of text is encrypted twice in a row, and the results are different.

Salt value effect

Participates in key derivation together with password.

Let the same password obtain different keys in different encryptions.

initial vector

Used in conjunction with the key to ensure different encryption results for the same content.

Must be stored with the ciphertext, but does not need to be kept secret.

safety significance

Avoid guessing whether the contents are the same by comparing ciphertext.

Make the pre-calculated batch crack table useless.

Storage method

The random value is packaged and output together with the ciphertext.

When copying, the entire section is taken away, and it cannot be restored without the random value.

The random value is stored with the ciphertext and does not need to be kept secret, but it cannot be decrypted without it.

📖 Glossary

plain text
The original content before encryption is also the target form after decryption and restoration. It can be any text, including line breaks and punctuation. The length is not limited by the algorithm, but if it is too long, segmentation should be considered.
cipher text
The content obtained after encryption is usually represented by a string of characters and has no readable information in appearance. It can only be restored with the correct password. If you use the wrong password, you will usually get a failure prompt instead of garbled characters.
Password
All the components of the password set by the user come from it, so its strength directly determines the security of the ciphertext. Once the password is lost, the ciphertext cannot be restored and there is no possibility of retrieval or reset.
Key derivation
The process of converting a password into a fixed-length key. It is deliberately designed to be slow to increase the cost of trying passwords one by one, so the number of iterations is set, and the higher the number, the harder it is to brute force it.
Number of iterations
The number of rounds in which key derivation is repeated. The higher the round number, the greater the cost to the cracker each time a password is tried, and the longer you yourself have to wait. Usually a value is chosen that can significantly increase the cost without affecting the experience.
salt value
A piece of data is randomly generated for each encryption, and is derived together with the password. It allows the same password to generate different keys in different files, thereby avoiding batch cracking with a pre-calculated table.
initial vector
The random value used with the key ensures that the results will be different when the same password encrypts the same content. It must be stored with the ciphertext or it cannot be restored, but it does not need to be kept secret.
Authenticated encryption
Verification information is generated while encrypting, and when decrypting, first verify whether the content has been modified. In this way, even if someone changes the ciphertext during the transmission process, the decryption will fail instead of getting an erroneous but seemingly normal content.
Integrity and tampering
Indicates whether the ciphertext has been modified. In addition to the authentication plaintext, there is also a check value. If any bit is changed, the verification will fail. This property is particularly important during transmission to avoid using replaced content.
Symmetric encryption
Encryption and decryption use the same key, which is fast and suitable for processing large pieces of text. The price is that both communicating parties need to share the password securely first, which is why the password needs to be passed separately.
Ciphertext structure
A piece of ciphertext is usually composed of several fields. In addition to the real content, it also contains salt value, initial vector and verification information. None of them need to be confidential, but neither one can exist without the other, so the entire paragraph should be copied in its entirety, not just the second half.
Key strength
Key factors that determine the lower limit of safety. The algorithm itself has been widely verified, and the real shortcomings are almost always passwords that are too short or too common, so instead of changing the algorithm, it is better to lengthen the password and add uppercase and lowercase characters and symbols.

🔗 All keywords and tutorials

Keywords page of the tool12a

Return to tool home page

❓ FAQ

Can I still unlock it if I forget the password??
No. Passwords do not participate in saving. If lost, the ciphertext cannot be restored and there is no way to reset it.
Will the content be uploaded??
No. Encryption and decryption are all completed locally in the browser, and no upload request is initiated.
Is it the same if the same text is encrypted twice??
Not the same. New random values ​​are generated each time, so the ciphertext looks different every time.
Why is the ciphertext so long??
It contains random values and verification information, and will be expanded again after encoding, which is a normal overhead.
What should I do if it prompts that decryption failed??
First check whether the password is completely consistent, and then confirm whether the entire ciphertext is copied completely without extra spaces.
How long should the password be??
It is recommended that there be more than twelve people, use several unrelated words to form a phrase, and avoid names and dates.