Proposal to Add Secure Hash Algorithm ( SHA-1 ) Hashing Algorithm
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- cryptography
Research direction
Start by locating the project's existing hashing or cryptographic algorithm implementations and their unit tests. Define the SHA-1 function's input and hexadecimal output from the issue, then add correctness tests and usage documentation. Done means the implementation, tests, and documentation are present and the tests pass.
Written by the indexing model from the issue text.
Description
Description
I would like to propose adding a SHA-1 hashing algorithm to our project. SHA-1 is a widely used cryptographic hash function that produces a 160-bit hash value, and it is often used for data integrity verification and digital signatures.
Rationale
- Data Integrity: Implementing SHA-1 will provide users with a reliable method to verify data integrity.
- Compatibility: Many existing systems and applications still rely on SHA-1 for hashing, making it a valuable addition.
- Educational Value: Including this algorithm can enhance the educational aspect of our project by showcasing a fundamental cryptographic concept.
Implementation Details
- The implementation will include:
- A hashing function that processes input strings and returns the SHA-1 hash in hexadecimal format.
- Unit tests to ensure the correctness of the implementation.
- Documentation on how to use the SHA-1 function.
- Dominant language
- JavaScript
- Stars
- 197k
- Forks
- 31k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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 trekhleb/javascript-algorithms
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
trekhleb/javascript-algorithms#2102 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
trekhleb/javascript-algorithms#2085 · 6 comments · 1 reaction ·
-
LinkedList methods. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
trekhleb/javascript-algorithms#2065 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
trekhleb/javascript-algorithms#2057 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
trekhleb/javascript-algorithms#2056 ·
All issues in trekhleb/javascript-algorithms
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
ecosystem wording
Difficulty 1/5 Under an hour Newbie friendliness 90/100
matrix-org/matrix.org#3649 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·