• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generate securerandom in bouncy castle

 
mansour polaris
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic