Add ElGamalCipher implementing ElGamal encryption and decryption#7064
Add ElGamalCipher implementing ElGamal encryption and decryption#7064polasisubash wants to merge 12 commits intoTheAlgorithms:masterfrom
Conversation
|
Hi maintainers 👋, |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7064 +/- ##
============================================
- Coverage 78.51% 78.45% -0.07%
Complexity 6752 6752
============================================
Files 759 760 +1
Lines 22402 22417 +15
Branches 4400 4400
============================================
- Hits 17589 17587 -2
- Misses 4108 4124 +16
- Partials 705 706 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
✅ All checks have passed successfully. |
1 similar comment
|
✅ All checks have passed successfully. |
|
✅ All checks have passed successfully. |
|
✅ All checks have passed successfully. |
|
@polasisubash Please always add a corresponding test class to your implementation |
|
@polasisubash Also don't forget the corresponding test class! |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution! |
Description
Added a new class
ElGamalCipher.javaimplementing the ElGamal encryption and decryption algorithm.Features
Example Output
Original: 12345
Encrypted: (c1, c2 values)
Decrypted: 12345
Technical Notes
src/main/java/com/thealgorithms/ciphers/References
Checklist