Skip to content

Added ChaCha20 Cryptographic Algorithm Implementation #583

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

Closed
wants to merge 35 commits into from
Closed

Added ChaCha20 Cryptographic Algorithm Implementation #583

wants to merge 35 commits into from

Conversation

Susmita331
Copy link

This PR introduces the implementation of the ChaCha20 cryptographic algorithm, a high-speed and secure stream cipher widely used for encryption. The implementation includes:

The ChaCha20 quarter-round function

  • Key scheduling and initialization of the ChaCha state matrix
  • The generation of keystream blocks for encryption/decryption
  • Support for nonce and counter-based operations

This addition enhances the cryptographic capabilities of the project, ensuring efficient and secure encryption suitable for various applications.

Copy link
Contributor

@Kishan-Ved Kishan-Ved left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The errors are due to no module named numpy

If you need it, try specifying it in requirements.txt

@czgdp1807
Copy link
Member

This is the scheme of remote which I follow (you can follow your own),

origin - https://github.com/codezonediitj/pydatastructs
czgdp1807 - https://github.com/czgdp1807/pydatastructs
Susmita331 - https://github.com/Susmita331/pydatastructs

To update this PR, just commit changes in your branch and execute the following,

git push Susmita331 CryptoAlgorithm

How to resolve conflicts? Follow the steps below,

  1. git checkout main
  2. git pull origin main
  3. git checkout CryptoAlgorithm
  4. git merge main
  5. Now resolve conflicts in VSCode
  6. git add .
  7. git commit -m "Merge main"
  8. git push Susmita331 CryptoAlgorithm

@Susmita331 Susmita331 closed this by deleting the head repository Mar 5, 2025
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.

4 participants