Guide / Information security

File encryption and document protection

Encrypting a file protects its contents from someone who only has a copy. Sharing a confidential document also raises questions about who may open it, whether it was altered, and what happens after access is granted. Close Crate and its Open Crate components address different parts of that problem.

What protects a confidential file?

  1. Encrypt the contents. Authenticated encryption makes the file unreadable without the required key and detects changes to protected content. In a .cc container, content is encrypted in chunks for streaming access.
  2. Bind access to recipients. Key slots specify how an authorized recipient can reach the document key. The application must establish that it has the right recipient key and context.
  3. Verify origin and rules. A signed container header lets a recipient check authorship of the header, including the key slots. Policies and signed leases can govern access in supported viewer workflows.

Encryption does not erase a copy that someone has already decrypted. Revocation can restrict future access through supported clients, subject to leases and offline windows.

Choose the right starting point

OpenCrateSDK: application bytes

For a developer who needs to seal JSON, messages or file bytes up to 16 MiB for one X25519 recipient. The OCSB1 envelope is separate from a .cc document. Version 0.0.7 is a preview without a stable compatibility promise or independent audit.

Read the SDK guide ↗

Open Crate: document container core

Five source-available Rust libraries cover container format, cryptography, protocol messages, policy evaluation and assembly. Your application supplies file access, keys, randomness, networking, time and enforcement.

Explore the Rust core →

Close Crate: document workflow

The separate service under development combines encrypted .cc documents with a viewer and access workflows. Service availability and commercial terms will be announced separately.

See the product direction →

Questions to ask before using file encryption

Does encryption alone control what a recipient does after opening?

No. Once an authorized application exposes plaintext, a recipient or a compromised device may copy it. Access rules depend on the client and deployment.

Is OpenCrateSDK the same format as a Close Crate document?

No. The SDK seals small arbitrary byte values into OCSB1. The .cc document container uses the separate Open Crate core.

Does hybrid post-quantum cryptography protect every file automatically?

No. A hybrid key slot is selected explicitly; every sufficient path to the document key must meet the chosen profile. Author signatures are a separate mechanism. This is not a FIPS certification claim.

Explore the implementation

The public repositories include source code, examples and integration notes. Start with the SDK for small application data or read the Open Crate documentation for the .cc format and its trust boundary.

OpenCrateSDK on GitHub ↗Open Crate on GitHub ↗