NoSuchAlgorithm exception

Hello, hello.

I use this transformation string which is from JCE1.2.1 API user guide "DES/OFB32/PKCS5Padding" to create a Cipher object. No compiler error but a run-time I get NoSuchAlgorithm exception.

Note: Using "DES/ECB/PKCS5Padding" is OK. I assume that there is nothing wrong with my classpath or run-time env.

Anyone knows why? Do we have another user guide?

Thanks for any help.

BN

[440 byte] By [binhnguyent] at [2007-9-26 1:19:21]
# 1

Hi,

If you are Sun JCE provider, I hope that it will not support this type of transformation.

Please see the documentation in this URL

www.java.sun.com/jce

If you are not using Sun JCE provider, please make sure that your provider supports this transformation. If it does not support, it will give this type of error.

Thanks

Bakrudeen

bakrudeen_indts at 2007-6-29 0:51:44 > top of Java-index,Security,Cryptography...