A plugin for Obsidian that provides age-based encryption for your notes.
[!CAUTION] This plugin comes with NO WARRANTY and NO RESPONSIBILITY for any data loss or security breaches, use at your own risk

Call Encrypt Selection command to encrypt selected text or Encrypt File to encrypt the entire file from the command palette.
Encrypted content is stored in code blocks with language set to age. For example:
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBrUWE0cmIxOFA3NUNXK3d1
V25pT1Z3IDE4ClBaMFY5NWc3bjZIMUxSNHRYSm9FUHMxamdsWjJ3UlhPZjM0R1pm
WFEzOEkKLS0tIHkwaFZNbmQybndaa2dxMkpxdUpOR01uZUQwK21oaSszai9hWnB3
ejJHaW8KxIr7k/vxvgqX0Dqun83t1yyupFW4JOYLzS9uwRSo5OxhCqf88SvxXbs=
-----END AGE ENCRYPTED FILE-----
You can always save this to a file and decrypt your content using the age CLI tool:
# Install age CLI tool first
age -d secret.age
MIT License