File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!