def needs_rehash
import bend-collections@1.0.0.0/src/crypto/password.bend as Passwordimport Base
import bend-collections@1.0.0.0/src/crypto/argon2/phc.bend as PHC
85# The encoded hash should be recomputed: it is not an Argon2id v=19 PHC string
86# with exactly these memory, passes, lanes, tag and salt lengths.
87def needs_rehash(encoded: String, params: Params) -> Bool:
88 rehash_parsed(PHC.parse(encoded), params)
Uses (5)
Used by (0)
No other definition uses this definition.