aspose file tools*
The moose likes Java Micro Edition and the fly likes J2ME Secure Random Proguard Obfuscator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "J2ME Secure Random Proguard Obfuscator" Watch "J2ME Secure Random Proguard Obfuscator" New topic
Author

J2ME Secure Random Proguard Obfuscator

Partheban Udayakumar
Ranch Hand

Joined: Jul 04, 2013
Posts: 256

Hi,

I am trying to implement ECDSA in J2ME. I use Netbeans7.4, Bouncy Castle Lightweight 149 api and proguard installed in Netbeans. The ECDSA implementation from BC uses Secure Random and Big Integer Classes which are present in the BC api too. Netbeans accepts Big Integer class but shows errors with Secure Random class. When I increment the obfuscation level in Netbeans to high, it shows ClassFormatError:78. When I don't obfuscate it or reduce the obfuscation level from high I get NoClassDefFoundError on Secure Random class. In both case Big Integer works. I tried renaming the java.* folder in Bouncy Castle but my program takes the default java.security.SecureRandom and when I add Secure Random class to my project, it shows package.SecureRandom is different from java.security.SecureRandom.

Has any one solved this? If so please help me I am breaking my head with this for over a month.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
--- Martin Fowler
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2ME Secure Random Proguard Obfuscator