Skip to content

Conversation

@jedisct1
Copy link
Contributor

@jedisct1 jedisct1 commented Feb 6, 2025

This removes the need for having both bcrypt() and bcryptWithTruncation() in the public API.

And whether truncation happens or not becomes even more explicit.

@jedisct1 jedisct1 added breaking Implementing this issue could cause existing code to no longer compile or have different behavior. standard library This issue involves writing Zig code for the standard library. labels Feb 6, 2025
This removes the need for having both `bcrypt()` and
`bcryptWithTruncation()` in the public API.

And whether truncation happens or not becomes even more explicit.
@jedisct1 jedisct1 merged commit 8d824df into ziglang:master Feb 19, 2025
10 checks passed
@jedisct1 jedisct1 deleted the bcrypt2 branch February 19, 2025 21:37
T1nk3r1 pushed a commit to T1nk3r1/zig-frictionless that referenced this pull request Apr 5, 2025
…ams (ziglang#22792)

* bcrypt: make silently_truncate_password a member of Params

This removes the need for having both `bcrypt()` and
`bcryptWithTruncation()` in the public API.

And whether truncation happens or not becomes even more explicit.

* Update crypto benchmark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Implementing this issue could cause existing code to no longer compile or have different behavior. standard library This issue involves writing Zig code for the standard library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant