This is a simple HTML-based utility for encrypting/decrypting notes and performing basic text manipulation. It runs entirely in your browser using the Web Crypto API for encryption.
- Encrypt: Securely encrypt messages using AES-GCM with a password.
- Decrypt: Decrypt messages that were previously encrypted using this tool.
- Replace Characters: Swap all occurrences of one character with another within a given text.
- Save the
index.htmlfile. - Open the
index.htmlfile in your web browser. - Alternatively, access the live demo at securenote.asanchez.dev.
- Use the tabs at the top to switch between the different tools: Encrypt, Decrypt, and Replace Characters.
- Go to the "Encrypt" tab.
- Enter the message you want to encrypt in the text area.
- Enter a strong password in the password field.
- Click the "Encrypt" button.
- The encrypted message (a base64 encoded string) will appear in the output box below. Copy this text to save or share it.
- Go to the "Decrypt" tab.
- Paste the previously encrypted message (the base64 string) into the text area.
- Enter the exact same password used for encryption.
- Click the "Decrypt" button.
- The original message will appear in the output box. If the password is incorrect or the data is corrupted, an error message will be shown.
- Go to the "Replace Characters" tab.
- Enter the text you want to modify in the text area.
- Enter the single character you want to replace in the "From" field.
- Enter the single character you want to replace it with in the "To" field.
- Click the "Replace" button.
- The modified text will appear in the output box.
- Client-Side Operation: This tool runs entirely in your web browser. No data, including your messages or passwords, is ever sent to any external server. All processing happens locally on your machine.
- Strong Encryption: Encryption uses the standard Web Crypto API, specifically AES-GCM, which is a widely recognized and secure authenticated encryption algorithm. The key is derived from your password using PBKDF2 with 100,000 iterations and SHA-256, adding significant protection against brute-force attacks.
- Password Security: The security of your encrypted message relies heavily on the strength of your password. Use a long, complex, and unique password.
- No Recovery: If you forget your password, there is absolutely no way to recover the encrypted message. Store your password securely.