Skip to content

Add a salt when hashing #3

Open
@Turkish

Description

A user can ask for otp multiple times, and reverse engineer your secret key, because he has all the elements of the hash, the phone number, the otp, and the expiry timestamp appended to the hash.

Adding a salt when hashing would make the process much more secure.

https://auth0.com/blog/adding-salt-to-hashing-a-better-way-to-store-passwords/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions