Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Adding support for needsRehashΒ #12

@thetutlage

Description

@thetutlage

First of all, it is a great, well written project. Thanks πŸ™

Since uphash has the params and version information, I was thinking, if we should add support for needsRehash function, that returns a boolean, if the config values are different from the encoded values. PHP already does the same.

Ideally the function will be added to the underlying libraries @phc/bcrypt, @phc/argon2 and I am happy to work on the PR, if you think we should add it

Metadata

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