Skip to main content

Crate doublecrypt_core

Crate doublecrypt_core 

Source
Expand description

doublecrypt-core: Encrypted filesystem core library.

This crate implements a minimal encrypted object-backed filesystem. All filesystem logic runs on the client side; the backend block store sees only opaque encrypted blocks.

§Architecture

  • block_store – Block store trait and in-memory implementation
  • allocator – Slot/block allocator
  • crypto – AEAD encryption engine (ChaCha20-Poly1305)
  • codec – Object serialization/encryption helpers
  • model – Core data types (Inode, DirectoryPage, ExtentMap, etc.)
  • transaction – Copy-on-write commit and root pointer management
  • fs – High-level filesystem operations
  • ffi – C ABI for Swift interop
  • error – Error types

Modules§

allocator
block_store
codec
crypto
error
ffi
Minimal C ABI for Swift interop.
fs
model
transaction