def verify_password

bend-collections-laws-crypto@1.0.0.0 · src/crypto/password.bend:69

import bend-collections-laws-crypto@1.0.0.0/src/crypto/password.bend as Password
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/argon2/phc.bend as PHC

69# The password matches the encoded Argon2id hash.
70def verify_password(+pw: List<&2, U32>, encoded: String) -> Bool:
71  verify_parsed(pw, PHC.parse(encoded))

Uses (6)

Used by (1)