Password.needs_rehash: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/password.bend as Password Lines 85-88 of bend-collections@1.0.0.0/src/crypto/password.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/password.bend&start_line=85&end_line=88 import Base import bend-collections@1.0.0.0/src/crypto/argon2/phc.bend as PHC # The encoded hash should be recomputed: it is not an Argon2id v=19 PHC string # with exactly these memory, passes, lanes, tag and salt lengths. def needs_rehash(encoded: String, params: Params) -> Bool: rehash_parsed(PHC.parse(encoded), params) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/argon2/phc.bend&name=parse https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/password.bend&name=Params https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/password.bend&name=rehash_parsed