Skip to content

Added a Simple XOR Cipher #5490

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

Merged
merged 7 commits into from
Oct 4, 2024
Merged

Added a Simple XOR Cipher #5490

merged 7 commits into from
Oct 4, 2024

Conversation

lcsjunior
Copy link
Contributor

I've transcribed one of my simple XOR ciphers that I use into Java with the intention of participating in Hacktoberfest and future contributions. Please consider accepting my code.

This is a simple implementation of the XOR cipher that, given a key, allows you to encrypt and decrypt plaintext.

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.00%. Comparing base (66ee59c) to head (d98740c).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5490      +/-   ##
============================================
+ Coverage     52.98%   53.00%   +0.01%     
- Complexity     3311     3314       +3     
============================================
  Files           529      530       +1     
  Lines         15343    15356      +13     
  Branches       2925     2926       +1     
============================================
+ Hits           8130     8139       +9     
- Misses         6880     6881       +1     
- Partials        333      336       +3     

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

@lcsjunior lcsjunior requested a review from siriak October 2, 2024 13:11
Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@siriak siriak enabled auto-merge (squash) October 4, 2024 16:08
@siriak siriak merged commit 41f767e into TheAlgorithms:master Oct 4, 2024
5 checks passed
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.

3 participants