Skip to main content

Crate smartpasslib

Crate smartpasslib 

Source
Expand description

SmartPassLib — cryptographic password generation without storage.

Cross-platform deterministic password generation compatible with Python, JavaScript, Kotlin, Go, and C# implementations.

§Example

use smartpasslib::*;

let secret = "MyStrongSecretPhrase2026!";
let password = generate_smart_password_sync(secret, 16).unwrap();
println!("{}", password);

Re-exports§

pub use core::CHARS;
pub use core::generate_base_password;
pub use core::generate_code;
pub use core::generate_private_key;
pub use core::generate_public_key;
pub use core::generate_smart_password_sync;
pub use core::generate_strong_password;
pub use core::verify_secret;
pub use manager::SmartPassword;
pub use manager::SmartPasswordManager;
pub use error::Result;
pub use error::SmartPassError;

Modules§

core
Core password generation functionality.
error
Error types for SmartPassLib.
manager
Password metadata storage manager.

Constants§

VERSION