Implement Password Hashing and Verification Service #11

Closed
opened 2025-10-17 22:14:48 +00:00 by Rodrigo2003-PT · 1 comment
Rodrigo2003-PT commented 2025-10-17 22:14:48 +00:00 (Migrated from github.com)

Create a dedicated service for securely hashing and verifying passwords using argon2id.

Tasks:

  • Add `argon2-cffi' library to pyproject.toml.
  • Create a service module password_service.py.
  • Implement the function hash_password(plain_password).
  • Implement the function check_password(hashed_password, plain_password).
  • Write unit tests to cover both password hashing and verification logic.
Create a dedicated service for securely hashing and verifying passwords using `argon2id`. ### Tasks: - Add `argon2-cffi' library to pyproject.toml. - Create a service module `password_service.py`. - Implement the function `hash_password(plain_password)`. - Implement the function `check_password(hashed_password, plain_password)`. - Write unit tests to cover both password hashing and verification logic.
AndreFerreira5 commented 2025-10-17 22:23:40 +00:00 (Migrated from github.com)

take a look at argon2id, it's the current standard and most secure password hasher. see if it's worth integrating instead of bcrypt
also, we don't use requirements.txt, we are using ub and therefore we work with a pyproject.toml

take a look at argon2id, it's the current standard and most secure password hasher. see if it's worth integrating instead of bcrypt also, we don't use requirements.txt, we are using _ub_ and therefore we work with a [pyproject.toml](https://github.com/AndreFerreira5/starranja/blob/main/pyproject.toml)
Sign in to join this conversation.
No description provided.