This submission was created to learn a bit about RSA Public Key encryption and signing. It consists of the following files: GenerateKeyPair (Generates the public and private key) Encrypt (using the public key) Decrypt (using the private key) Sign (using the private key) Verify (using the public key) Test (giving an example how these functions are used) and two helper functions: ExtendedEuclideanAlgorithm ModularExponentiation Unfortunately the randseed command of the Communications System Toolbox ist required at the moment. To remove this dependency it is possible to enter the two random prime numbers manually in the GenerateKeyPair script. Since the purpose of this small framework is to understand the basic principle of RSA, I did not implement a biginteger type and also did not optimize the helper functions for huge numbers (2048 bit). ![]() ![]() PCode obfuscation cracked - alternatives? Learn more about pcode, protection, obfuscation. That there has not been any 100% secure method in the history of modern computing. If you invent one, M- and P-files will not be your profession anymore. Because there is something called workspace in MATLAB, and the p-code generator has nothing. The randseed command provides prime numbers up to 1000 or ~2^10. Zuken e3 series crackle. @Jan: Jan, I think you missed my point. I already said that the encryption was put in place on purpose to protect intellectual property, which is what I like. I meant to say that hacking P-code is possible but probably very difficult. I probably had a smirk on my face when I say 'hey, if you find a way, please let me know!' I didn't know hacking P-code is not a real challenge and I still believe it is going to be very hard. Are you afraid that math98 will take my word for it and go cracking the encryption? He said he 'heard from an old MATLAB user that there are some ways to decrypt a pcode'. Is that 'old MATLAB user' referring to you? Walter didn't want to take that credit. @Yair: Sorry. I did not meant the term 'hacking' in any offending way and I'm definitely convinced from all I've seen and heared in the last years, that your work is legal and helpful for Matlab users and in consequence for TMW. I'm used to distinguish the illegal 'cracking' from the legal 'hacking', which means digging in the codes for the not barely obvious features. If any of your investigations and publications of the golden beans you've found is not legal -what is not the case!-, I'd strongly recommend that you get payed by TMW to catch up a legalization retrospectively.
0 Comments
Leave a Reply. |