|
|
|
|
|
by n0rdy
492 days ago
|
|
Author here: thanks for reading the post. It's great to hear that Zig covered both cases. However, I'd still prefer the opposite behavior: a safe (without truncation) default `bcrypt()` and the unsafe function with the explicit name `bcryptWithTruncation()`. My opinion is based on the assumption that the majority of the users will go with the `bcrypt()` option. Having AI "helpers" might make this statistic even worse. Do you happen to know Zig team's reasoning behind this design choice? I'm really curious. |
|
These choices are documented in the function's docstring, but not obvious, nor do they seem encoded in a custom version.