aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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?
Don't get me started about those stupid light bulbs.
subject: generate securerandom in bouncy castle