| Crates.io | vitaminc |
| lib.rs | vitaminc |
| version | 0.1.0-pre4 |
| created_at | 2024-03-28 10:39:18.863202+00 |
| updated_at | 2025-11-23 23:28:24.324543+00 |
| description | VitaminC cryptographic suite by CipherStash |
| homepage | https://cipherstash.com |
| repository | https://github.com/cipherstash/vitaminc |
| max_upload_size | |
| id | 1188924 |
| size | 82,462 |
Vitamin C is like vitamins for your Rust code, especially code dealing with cryptography and managing sensitive data. It is actually a suite of crates that you can use individually or via this top-level crate via features.
Vitamin C is in active development and aims to address the following:
Misuse Resistance: it aims to make it difficult to write code that is insecure.
Verified: be verified using formal methods and testing and selects dependencies that are verified.
Vetted: be vetted by security experts and selects dependencies that are vetted.
Minimal: be minimal and only include what is necessary.
Consistent: have a consistent interface with everything in one place.
Compatible: support embedded (no_std) and WASM targets.
Fast: speed and security can be friends!
You can install the top-level vitaminc crate and enable specific features:
cargo add vitaminc --features protected,random
Or, if you only need a specific capability, you can install a crate directly:
cargo add vitaminc-protected
Prerequisites:
To run the tests:
Start localstack (typically done by running localstack start from the shell)
cargo test
| Feature | Source | Crates.io | Documentation |
|---|---|---|---|
aead |
vitaminc-aead |
||
async-traits |
vitaminc-async-traits |
||
encrypt |
vitaminc-encrypt |
||
kms |
vitaminc-kms |
||
password |
vitaminc-password |
||
permutation |
vitaminc-permutation |
||
protected |
vitaminc-protected |
||
random |
vitaminc-random |
||
traits |
vitaminc-traits |