xos-storage 1.0.0

X-OS IPFS Storage
Documentation

Xorion IPFS — Decentralized Storage

IPFS-backed filesystem with client-side encryption:

  • IPFS client — upload, download, pin files via the IPFS HTTP API
  • AES-256-GCM encryption — client-side encrypt/decrypt with Argon2 key derivation
  • Virtual filesystem — directory tree mapped to IPFS CIDs
  • Pinning service — track and manage pinned content
  • Local cache — LRU-style disk cache with configurable size limits

Example

use xorion_ipfs::Encryption;

let enc = Encryption::from_password("secret", b"salt_at_least_8b").unwrap();
let ciphertext = enc.encrypt(b"hello world").unwrap();
let plaintext = enc.decrypt(&ciphertext).unwrap();
assert_eq!(plaintext, b"hello world");