Implement RC5 encryption in java

I have an assignment currently to implement this RC5 encryption in my java project, but I don't know how to achieve it.

I tried to create a Cipher object like below line and this will throw an exception:

Cipher desCipher = Cipher.getInstance("RC5");
***java.security.NoSuchAlgorithmException: Cannot find any provider supporting RC5***

      

but another provider like "DES", "RC2" works fine when I create a Cipher object,

I am using jdk6 if it matters

0


source to share


1 answer


http://bouncycastle.org/ I believe the RC5 implementation is using them as a provider and see if that works.



+2


source







All Articles