JavaStarter
asked on
PBEWithMD5AndDes java.security.nosuchalgorithmexception
I'm getting a nosuchalgorithmexception when I try to run a program with PBEWithMD5andDES. This is the line thats causing the problem.
SecretKeyFactory skf = SecretKeyFactory.getInstan ce(algorit hm);
algorithm is a string="PBEWithMD5AndDes"
My classpath is set ok because when I use other programs implementing DES they are ok.
Any suggestions?
SecretKeyFactory skf = SecretKeyFactory.getInstan
algorithm is a string="PBEWithMD5AndDes"
My classpath is set ok because when I use other programs implementing DES they are ok.
Any suggestions?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
SecretKeyFactory skf = SecretKeyFactory.getInstan
The string algorithm should be "PBE" and not "PBEWithMD5AndDes".