Solved

No Such Algorithm Exception

Posted on 2001-06-27
3
202 Views
Last Modified: 2010-04-16
Hi,

I am sorry If this is a stupid question. It has been driving me nuts.
I have some code that creates an RSA pub/priv key pair, writes these to disk, then creates a session key. Using this we encrypt a file. Up until here all is well.
Then we try to encrypt that session key with an RSA cipher, using the publicKey to initialize it.

So, Is it just that my Provider(s) do not support RSA Cipher's ?

I am using Sun's JCE and the implementation from Cryptix.

Any ideas.
0
Comment
Question by:matooka
3 Comments
 

Expert Comment

by:berserks
ID: 6231888
I suggest checking the version of the cipher.  I've had this problem before, and it's mainly because of different version problems.  I was using TripDES encryption.
0
 
LVL 5

Expert Comment

by:vemul
ID: 7616527
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- To be PAQ'ed and points refunded
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

vemul
Cleanup Volunteer
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 7639828
PAQ'd and points removed

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now