It's not a secret anymore!*
The moose likes Java Micro Edition and the fly likes generate securerandom in bouncy castle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "generate securerandom in bouncy castle" Watch "generate securerandom in bouncy castle" New topic

generate securerandom in bouncy castle

mansour polaris

Joined: Jun 17, 2008
Posts: 3
hi all

Im trying to use bouncy castle FixedSecureRandom to generate AES key. Before that I tried to use SecureRandom and my code was like this:

the system throws noclassdeffounderror. Then I did obfuscation using Netbeans to the highest level but the problem still.
Then I changed my code to this:

the same error is was throwen at first line. Note this code should run in mobile side.

Any idea?Any help?
I agree. Here's the link:
subject: generate securerandom in bouncy castle
Similar Threads
java in the sharp zaurus PDA
pad block corrupted
Encrypting a serialized object
Bouncy Castle encryption examples and tutorials
Bouncy Castle: PGPKeyRingGenerator