| Crates.io | zero_vault_core |
| lib.rs | zero_vault_core |
| version | 1.0.1 |
| created_at | 2025-04-25 14:20:07.516575+00 |
| updated_at | 2025-04-25 14:31:44.375029+00 |
| description | Fort-Knox level cryptographic security core for ZeroVault |
| homepage | |
| repository | https://github.com/ParleSec/zerovault |
| max_upload_size | |
| id | 1649052 |
| size | 153,115 |
A lightweight cryptographic library providing Fort-Knox level security for document encryption.
use zero_vault_core::{encrypt_data, decrypt_data};
// Encrypt sensitive data
let data = b"Confidential information";
let password = "secure-password-example";
let encrypted = encrypt_data(data, password).unwrap();
// Decrypt with verification
let decrypted = decrypt_data(&encrypted, password).unwrap();
assert_eq!(data.to_vec(), decrypted);