This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Security and the fly likes exception from tripleDES encryption Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "exception from tripleDES encryption" Watch "exception from tripleDES encryption" New topic

exception from tripleDES encryption

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

i'm having an exception thrown when running below pprogram
the exception is :

can you help fixing this error ?


code below:

Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
Why are you making a key spec from a pass phrase?

Also, on low-priority ~ it would make it easier if you would insert some line breaks to shortenthe horizontal scroll. The code tags try to retain source code formatting thus the left-right scroll bar is needful to see all the code. Without that one may just up arrow and down arrow to look for the area of interest.
[ June 03, 2008: Message edited by: Nicholas Jordan ]

"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
I agree. Here's the link:
subject: exception from tripleDES encryption
Similar Threads
Problem Urgent: Crypto using jsp - javabean
Cannot find any provider supporting Blowfish/ECB/PKCS5Padding
Characters jumbled pls help
Encryption-decryption file problem
Store HTTPS file upload on server encrypted?