| Crates.io | secure-auth |
| lib.rs | secure-auth |
| version | 1.0.0 |
| created_at | 2025-11-28 06:21:30.54709+00 |
| updated_at | 2025-11-28 06:21:30.54709+00 |
| description | A high-security, enterprise-grade Rust authentication layer for handling user signup and login with encrypted storage. |
| homepage | |
| repository | https://github.com/seleste3580-dev/secure-auth |
| max_upload_size | |
| id | 1954904 |
| size | 19,072 |
Enterprise-grade authentication crate .
This library provides secure signup and login layers for:
✔ Argon2id password hashing
✔ AES-256-GCM encrypted storage
✔ Secure user database
✔ Very easy API
✔ Corporate-ready
use slsecure_auth::Secure;
fn main() {
let mut auth = Secure::new();
auth.signup("seleste", "Strong#Password")
.expect("Signup failed");
match auth.login("seleste", "Strong#Password") {
Ok(_) => println!("Login success"),
Err(err) => println!("Login error: {:?}", err),
}
}