2 releases
| 0.0.3 | Sep 5, 2025 |
|---|---|
| 0.0.1 | Sep 5, 2025 |
#1547 in Cryptography
30KB
653 lines
OTPlus Core
OTPlus Core is a library for creating and managing OTPlus keys for encrypting and decrypting data.
Features
- Create root key for encrypting and decrypting data
- Create derived key from passphrase
- Create header for storing the root key and derived key
Usage
- Create root key
use otplus_core::cipher::RootKey;
let root_key = RootKey::default();
- Create derived key from passphrase
use otplus_core::cipher::DerivedKey;
let derived_key = DerivedKey::new("password", vec![0; 16], 32);
License
MIT
Author
Dependencies
~3–4.5MB
~89K SLoC