Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


perform cryptographic operations using J2SE 1.3

Posted on 2003-02-28
Medium Priority
Last Modified: 2013-11-23
Hi all,

I'm writing a Java program using Java 1.3. The program needs to perform asymmetric operations such as encryption/decryption, signature verifications, etc, and I need to use RSA algorithm.

I know that java.security package only provide interfaces for keys such as RSAPublicKey, RSAPrivateKey, etc. I was told that sun provides implementation for these interfaces, but when I look at JCE specification, I don't seem to find anything mentioning RSA.

Could someone point me to the right link or places where I can find the implementation I need? (I can't use Java 1.4).

Thanks a lot!
Question by:emshelly
LVL 35

Accepted Solution

TimYates earned 180 total points
ID: 8044841
Have you tried the Cryptix library?


It's got RSA in it, and "Cryptix 3 runs on JDK 1.1, JDK 1.2 (Java 2) and JDK 1.3"

Expert Comment

ID: 8046284
I second TimYates.  Cryptix has a decent package. Includes AES, too.  I couldn't get their MD5 to match one I was using ( nor did BouncyCastles or anyone elses, nor did THEY match each others... ) so I wrote my own MD5. Other than that, cryptix is a nicer package than the rest.

Author Comment

ID: 8048643
So is it true that SUN does not implement RSA algorithm?

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month14 days, 21 hours left to enroll

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question