Encrypt your secrets in the Obsidian.md notes.
This is a simple plugin for encrypting the text in Obsidian notes just inline. It was inspired by Obsidian Encrypt Plugin.
⚠️ WARNING: Use at your own risk. Your passwords are never stored anywhere. If you forget your passwords you can't decrypt your notes. Do not give access to your files to a third party to avoid possible decryption of data.
You can encrypt all the text in a note, as well as parts of it, such as the contents of lists, tables, etc. The encrypted value is saved directly in the note as a block of code and appears as a button in reading mode.
Edit mode:
Reading mode:
Live Preview mode is also supported.
-
In edit mode select text you want to encrypt.
-
Run Encrypt selected text from command palette.
-
Enter the password for encryption.
-
You can also run Encrypt selected text as code block command for encrypting into common code block.
- To see the decrypted value without decrypting it in the text of the note, simply click on the button in reading mode.
-
Enter the password for decryption.
-
To decrypt a secret in the text of a note, select the entire code block in edit mode.
-
Run Decrypt selected text from command palette.
-
Enter the password for decryption.
Encryption algorhytm is aes-256-gcm
. Salt and IV are unique and random.