Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task] Write unit tests for password salting and hashing #23

Open
abi-sheks opened this issue Dec 11, 2024 · 0 comments
Open

[Task] Write unit tests for password salting and hashing #23

abi-sheks opened this issue Dec 11, 2024 · 0 comments
Labels
medium This is a medium issue worth 30 points.

Comments

@abi-sheks
Copy link
Collaborator

  • Write unit tests that check the following:
    1. Passwords are successfully salted and hashed.
    2. Salting ensures that the same password generates different hash values on each test run.
    3. The system should correctly verify a password against its hash.
    4. Ensure that the password hash is not retrievable from the hash itself.
    5. Test for edge cases, such as very short or very long passwords.
@abi-sheks abi-sheks added the medium This is a medium issue worth 30 points. label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium This is a medium issue worth 30 points.
Projects
None yet
Development

No branches or pull requests

1 participant