Inconsistency between `hash_into` function names
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- rust
- Domain
- cryptography, security
Research direction
Start by locating the balloon-hash hash_into() entry point and checking its callers and public API references. Compare the surrounding password-hashing APIs named in the issue, then verify that the renamed interface and its affected references build successfully without changing hashing behavior.
Written by the indexing model from the issue text.
Description
There's multiple differently named functions that all do the same thing - hash a password into a buffer:
argon2:.hash_password_into()balloon-hash:.hash_into()bcrypt-pbkdf:.finalize_into()(this one is understandable as it can be incremental)scrypt: it's the only option available, viascrypt()sha-crypt: does not provide the functionality at all
I personally think the easiest solution would be to rename balloon-hash' .hash_into() into .hash_password_into(), and although it'd be a breaking change it would unify the function names a little more.
- Dominant language
- Rust
- Stars
- 909
- Forks
- 114
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RustCrypto/password-hashes
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
RustCrypto/password-hashes#926 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
RustCrypto/password-hashes#924 · 3 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
RustCrypto/password-hashes#883 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
RustCrypto/password-hashes#573 · 5 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
RustCrypto/password-hashes#133 · 1 comment ·
All issues in RustCrypto/password-hashes
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100