Docs.rs
zopp-secrets-0.1.1
zopp-secrets 0.1.1
Permalink
Docs.rs crate page
AGPL-3.0
Links
Homepage
Repository
crates.io
Source
Owners
vieiralucas
Dependencies
thiserror ^2.0.17
normal
zopp-crypto ^0.1.0
normal
zopp-proto ^0.1.0
normal
Versions
53.85%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate zopp_secrets
zopp_
secrets
0.1.1
All Items
Crate Items
Structs
Enums
Functions
Crate
zopp_
secrets
Copy item path
Source
Structs
§
Encrypted
Secret
Result of encrypting a secret
Secret
Context
High-level context for encrypting and decrypting secrets. Bundles principal key, workspace keys, and environment to hide all crypto details.
Enums
§
Secrets
Error
Functions
§
decrypt_
secret_
with_
dek
Decrypt a single secret given a raw DEK and environment context. This is a lower-level helper useful when you have a cached DEK.
unwrap_
dek
Unwrap an environment DEK given workspace keys and environment data. This is a lower-level helper useful for caching DEKs (e.g., in the operator). Returns the raw 32-byte DEK.