Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

secrecy: rename constructor methods to init_with #1212

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

tony-iqlusion
Copy link
Member

Previously they were named *new_with_ctr which is a somewhat confusing name (particularly to anyone who works in cryptography where "ctr" registers as counter mode).

The init_with name is commonly used for these sorts of Fn-based constructors.

Previously they were named `*new_with_ctr` which is a somewhat confusing
name (particularly to anyone who works in cryptography where "ctr"
registers as counter mode).

The `init_with` name is commonly used for these sorts of `Fn`-based
constructors.
@tony-iqlusion tony-iqlusion merged commit c1df7e9 into main Sep 17, 2024
10 checks passed
@tony-iqlusion tony-iqlusion deleted the secrecy/init_with branch September 17, 2024 18:36
@tony-iqlusion tony-iqlusion mentioned this pull request Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant