otplus-core

Crates.iootplus-core
lib.rsotplus-core
version0.0.3
created_at2025-09-05 04:03:53.758893+00
updated_at2025-09-05 08:13:30.182921+00
descriptionCore cryptographic library for OTPlus - A secure one-time password and key derivation system
homepagehttps://github.com/ledunguit/otplus-core
repositoryhttps://github.com/ledunguit/otplus-core
max_upload_size
id1825074
size60,290
Le Dung (ledunguit)

documentation

https://docs.rs/otplus-core

README

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

OTPlus

Commit count: 25

cargo fmt