Skip to content

feat: add RSA encryption and decryption algorithm #1775

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

QuantumSoham
Copy link

This PR implements the RSA encryption and decryption algorithm under the Ciphers section.
It includes:

RSA key generation

Encryption and decryption functions

Unit tests written with Vitest

The algorithm follows the project's coding guidelines, naming conventions, and test structure.

✅ All tests pass locally.
✅ Code is formatted with Prettier.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 98.11321% with 2 lines in your changes missing coverage. Please review.

Project coverage is 85.94%. Comparing base (1d252d7) to head (d69172b).

Files with missing lines Patch % Lines
Ciphers/RSAAlgorithm.js 98.11% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1775      +/-   ##
==========================================
+ Coverage   85.87%   85.94%   +0.06%     
==========================================
  Files         377      378       +1     
  Lines       19720    19826     +106     
  Branches     3005     3019      +14     
==========================================
+ Hits        16935    17039     +104     
- Misses       2785     2787       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants