Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

To add Implementation of Base64 Algorithm #6586

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
alxkm merged 9 commits into TheAlgorithms:master from NithinU2802:nithinu/base64-algorithm
Oct 2, 2025

Conversation

Copy link
Contributor

@NithinU2802 NithinU2802 commented Oct 2, 2025
edited
Loading

Description

This PR adds an implementation of the Base64 conversion algorithm in Java. The utility provides methods to encode text into Base64 format and decode Base64 back to the original text, ensuring safe conversion of binary and textual data.

Please let me know if any changes are required. I'm happy to update accordingly 🚀.

This PR closes issue #6585 .

  • 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

Copy link

codecov-commenter commented Oct 2, 2025
edited
Loading

Codecov Report

❌ Patch coverage is 98.50746% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 75.58%. Comparing base (d8ddb07) to head (7c01f73).

Files with missing lines Patch % Lines
...ain/java/com/thealgorithms/conversions/Base64.java 98.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@ Coverage Diff @@
## master #6586 +/- ##
============================================
+ Coverage 75.50% 75.58% +0.07% 
- Complexity 5688 5722 +34 
============================================
 Files 694 695 +1 
 Lines 19570 19637 +67 
 Branches 3791 3812 +21 
============================================
+ Hits 14776 14842 +66 
 Misses 4217 4217 
- Partials 577 578 +1 

☔ 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.

Copy link
Member

@alxkm alxkm 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 for the contribution.

@alxkm alxkm merged commit 2be984f into TheAlgorithms:master Oct 2, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@alxkm alxkm alxkm approved these changes

@DenizAltunkapan DenizAltunkapan Awaiting requested review from DenizAltunkapan DenizAltunkapan is a code owner

@yanglbme yanglbme Awaiting requested review from yanglbme yanglbme is a code owner

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /