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 Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "generate securerandom in bouncy castle" Watch "generate securerandom in bouncy castle" New topic
Author

generate securerandom in bouncy castle

mansour polaris
Greenhorn

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: generate securerandom in bouncy castle
 
It's not a secret anymore!