Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

PhantomCipher

LumingtianzeLumingtianze151 downloads

A high-performance transparent full-database encryption scheme based on Argon2id + AES-GCM.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates11

English | 简体中文 | 日本語


PhantomCipher provides a seamless transparent encryption experience for your Obsidian vault.

[!CAUTION] Warnings & Disclaimers

  • Early Stage: This project is in its early stages. The encryption architecture may change at any time. Please check update logs frequently.
  • Not for High-Security Use: This plugin is not designed for high-stakes confidential or core business data. Be aware that Obsidian's Secret Storage API may not be fully hardened on all platforms.
  • Backup Required: Always backup your entire vault before encrypting important files. The author is not responsible for any data loss.
  • Credential Backup: Manually save/backup your KEK (Key Encryption Key) and DEK (Data Encryption Key). For multi-device use, you must manually sync these credentials across devices to avoid file isolation.
  • Forgotten passwords result in permanent data loss.

✨ Key Features

  • Envelope Encryption (V2): Uses KEK to wrap a DEK, allowing password changes without re-encrypting physical files.
  • Transparent Workflow: Intercepts low-level I/O; write normally in the editor while files are stored encrypted on disk.
  • Built-in Compression: Uses Deflate to offset the size increase from Base64 encoding.
  • Large Attachment Support: Optimized for files up to 2GB. Note: Due to JS environment limits and the "Write-Verify-Replace" safety mechanism, high-memory devices (16GB+) are recommended for very large files.
  • Native Binary Format: supports storing encrypted payloads in pure binary, improving performance for media files and eliminating Base64 overhead.
  • Integrity Verification: Manual conversion now uses MurmurHash3 plaintext hashing to verify data integrity before and after encryption, preventing data corruption.

🚀 Quick Start

  1. Go to settings and select Manage Master Password.
  2. Set your password in the modal. The system will derive a KEK and generate a random DEK stored in Obsidian's Secret Storage.
  3. Important (Credential Export): Since the keys are stored in the keychain, please be sure to manually record and export the key values starting with phantom-kek- and phantom-dek- displayed on the keychain key list interface. It is recommended to store these values in an offline password manager.
  4. Set Operation mode to "Auto-encrypt".
  5. Use the Ribbon Icon or Context Menu to toggle encryption for files or folders.

🛠️ Decryption Tool

To decrypt files outside of Obsidian (e.g., for data export), use our CLI tool: PhantomCipher CLI Tool

License

This project is licensed under the Mozilla Public License 2.0 (MPL-2.0).

HealthExcellent
ReviewPassed
About
Encrypt notes transparently using Argon2id + AES-GCM so files remain encrypted on disk while you edit them normally. Compress data with Deflate to reduce Base64 bloat, optimize performance with a session salt, and store master passwords in your system keychain.
FilesData
Details
Current version
2.0.1
Last updated
3 months ago
Created
3 months ago
Updates
11 releases
Downloads
151
Compatible with
Obsidian 1.12.0+
Platforms
Desktop, Mobile
License
MPL-2.0
Report bugRequest featureReport plugin
Author
LumingtianzeLumingtianzelumingtianze
GitHublumingtianze
  1. Community
  2. Plugins
  3. Files
  4. PhantomCipher

Related plugins

Meld Encrypt

Hide secrets in your notes.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Advanced URI

Control everything with URI.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Recent Files

Display a list of recently opened files.

Tracker

Track occurrences and numbers in your notes.

QuickAdd

Quickly add new notes or content to your vault.