Password.hash_password_os: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/password.bend as Password Lines 106-110 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=106&end_line=110 import Base # hash_password with a fresh salt of params' salt length from IO.random_u32. def hash_password_os(+pw: List<&2, U32>, +params: Params) -> IO(Maybe<&2, String>): do IO>: salt : List<&2, U32> <- random_bytes(salt_len(params)) return hash_password(pw, salt, params) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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=hash_password https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/password.bend&name=random_bytes https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/password.bend&name=salt_len