github frankie567/pwdlib v0.2.0

latest release: v0.2.1
12 months ago

Bump version 0.1.0 → 0.2.0

Breaking change

The order of the arguments for the verify and verify_and_update methods has been reversed. The hash is now the second argument and the password is the first argument. This change was made to make the API more consistent with passlib.

Before

valid = password_hash.verify(hash, "herminetincture")
valid, updated_hash = password_hash.verify_and_update(hash, "herminetincture")

After

valid = password_hash.verify("herminetincture", hash)
valid, updated_hash = password_hash.verify_and_update("herminetincture", hash)

Don't miss a new pwdlib release

NewReleases is sending notifications on new releases.