aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2020-08-21 00:51:14 +0200
committerFrank Denis <github@pureftpd.org>2020-08-21 00:51:14 +0200
commitfc55cd458a7cd72ea876cf747b1ddd43d8dc6e20 (patch)
tree421c3e4036ac5288aa9312d4af68608884f8dae1 /tools
parentadf3d00e874275557b69ef65164a2b2a0dd88167 (diff)
downloadzig-fc55cd458a7cd72ea876cf747b1ddd43d8dc6e20.tar.gz
zig-fc55cd458a7cd72ea876cf747b1ddd43d8dc6e20.zip
Hash functions now accept an option set
- This avoids having multiple `init()` functions for every combination of optional parameters - The API is consistent across all hash functions - New options can be added later without breaking existing applications. For example, this is going to come in handy if we implement parallelization for BLAKE2 and BLAKE3. - We don't have a mix of snake_case and camelCase functions any more, at least in the public crypto API Support for BLAKE2 salt and personalization (more commonly called context) parameters have been implemented by the way to illustrate this.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions