-
- Downloads
Store hashed passwords (#7)
Use if let instead of unwrap
Default to invalid password if could not calculate
Move hash password methdo and return Result
Rename get_password method
Default to empty password when no pwd is received
Store hashed passwords
Store passwords hashed with Argon2 and verify password with that stored
hash.
Co-authored-by:
Guillem Nieto <gnieto.talo@gmail.com>
Showing
- Cargo.lock 14 additions, 1 deletionCargo.lock
- Cargo.toml 1 addition, 0 deletionsCargo.toml
- src/client_server.rs 21 additions, 6 deletionssrc/client_server.rs
- src/data.rs 4 additions, 4 deletionssrc/data.rs
- src/test.rs 91 additions, 9 deletionssrc/test.rs
- src/utils.rs 16 additions, 0 deletionssrc/utils.rs
Loading
Please register or sign in to comment