Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6903659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:57:12+00:00 2026-05-27T07:57:12+00:00

May be it is not a programming question, but i want to clarify Is

  • 0

May be it is not a programming question, but i want to clarify

Is there any difference between org.apache.commons.codec.binary.Base64 & com.sun.org.apache.xml.internal.security.utils.Base64?

Some of my J2EE application classes are using org.apache.commons.codec.binary.Base64 and some are using com.sun.org.apache.xml.internal.security.utils.Base64.

I want to change to org.apache.commons.codec.binary.Base64 as it is stable.

Already my app is running fine,but after the change will it continue to run fine i.e.,
will the encoding done by com.sun.org.apache.xml.internal.security.utils.Base64 method be able to decode through org.apache.commons.codec.binary.Base64 method?

I just want to clarify before i make a change to my production code.

Please clarify.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:57:13+00:00Added an answer on May 27, 2026 at 7:57 am

    You should always avoid using classes from com.sun.* packages directly. These are internal classes used to implement the JVM. They can be changed without notice on every update, thus breaking your code.

    Base64 is standardized by the IETF, so both implementations should produce the same output. RFC 4648

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It may not be a pure programming question but I'm looking for information about
This may not be a programming question, but I don't know where to ask
Sorry, this may or may not be a programming question directly, but I am
This may or may not be a programming question, but one or two users
This question may not directly relate to programming. I have noticed that the technology
It may not be best practice but are there ways of removing unsused classes
This may not be the kind of question one should ask on StackOverflow, but
I know this may not be exactly a coder question, but I feel it
This question is related with Microcontroller programming but anyone may suggest a good algorithm
May be this question a bit not for StackOverflow, but both compilers and Verilog

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.