Argon2::hash_password_into crashes on 32-bit architectures when using the FIRST RECOMMENDED parameter option (see Section 4 of RFC 9106) because it tries to infallibly allocate the 2 GiB buffer.
We believe that the straight-forward, easy-to-use interfaces should be safe by default. Following that, Argon2::hash_password_into should make a fallible allocation, returning allocation errors instead of crashing.
Argon2::hash_password_intocrashes on 32-bit architectures when using the FIRST RECOMMENDED parameter option (see Section 4 of RFC 9106) because it tries to infallibly allocate the 2 GiB buffer.We believe that the straight-forward, easy-to-use interfaces should be safe by default. Following that,
Argon2::hash_password_intoshould make a fallible allocation, returning allocation errors instead of crashing.