arsenal-crypto (Rust)
Cryptographic primitives for ARSENAL - signing, encryption, key derivation
Purpose
Cryptographic primitives for ARSENAL - signing, encryption, key derivation
Read the arsenal credentials guide.
Source contract
| Field | Value |
|---|---|
| Package | arsenal-crypto |
| Version | 2.0.0 |
| Language | Rust |
| Runtime floor | 1.75 |
| Manifest | arsenal/crates/arsenal-crypto/Cargo.toml |
| Distribution | Source package; registry publication not verified |
Manifest SHA-256: 0732a412dc80b3f9d1187f94d05ff0a096b1524429d10cdf468bb73a6584abad. The recorded Git revision identifies the containing repository; the manifest and entry-point hashes identify this working-tree snapshot.
Integration
Use the package root above from an authorized source checkout. Preserve sibling dependencies and their version/feature requirements. Install the runtime and compile the selected package before using its generated artifacts. The task guide describes configuration, trust boundaries, and error behavior. Test/conformance and deployment packages are supporting tools, not interchangeable production identity providers.
Exported entry points
The declarations below are extracted from the named entry files. This is a navigable source reference, not compiler-generated documentation of every transitive module. Feature gates and runtime requirements still apply. Private implementation files are not promoted to public APIs merely because they contain a public declaration.
arsenal/crates/arsenal-crypto/src/lib.rs
Source SHA-256: 3322fef81a38819ff0ab7b16d77ee2e93ec14425629eb7719b351f5300c0133c.
pub mod encryption;
pub mod envelope;
pub mod hash;
pub mod kdf;
pub mod keys;
pub mod random;
pub mod signing;
pub mod token_signer;
pub use encryption::{Decryptor, EncryptedData, Encryptor};
pub use envelope::{EnvelopeEncryption, WrappedKey};
pub use hash::{Hash, Hasher};
pub use kdf::{DerivedKey, KeyDerivation};
pub use keys::{EncryptionKeyPair, KeyId, SigningKeyPair};
pub use signing::{Signature, Signer, Verifier};
pub use token_signer::{TokenSigner, TokenVerifier};
pub mod prelude {Module signatures and options
Browse the declared public source modules. This includes signatures, struct fields, enums, traits, method declarations, source comments and conditional attributes.