-
Notifications
You must be signed in to change notification settings - Fork 20.8k
Add ElGamalCipher implementing ElGamal encryption and decryption #7064
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
base: master
Are you sure you want to change the base?
Add ElGamalCipher implementing ElGamal encryption and decryption #7064
Conversation
|
Hi maintainers 👋, |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7064 +/- ##
============================================
- Coverage 78.36% 78.29% -0.08%
+ Complexity 6684 6682 -2
============================================
Files 755 756 +1
Lines 22203 22218 +15
Branches 4360 4360
============================================
- Hits 17400 17396 -4
- Misses 4105 4121 +16
- Partials 698 701 +3 ☔ 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. |
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