Page 1 of 1

Source for encrypt/decrypt implementation

Posted: Tue Aug 27, 2013 8:45 am
by rjk
I have just purchased a Commercial License and I am interested in adding some features (e.g. hmac) from the openSSL library (which I believe is used for existing LiveCode commands such as encrypt/decrypt). I am also keen to see the source for the implementation of the encrypt/decrypt commands. I have not been able to find the source files on GitHub where these and any other commands using openSSL are located.

Would someone please be able to give me some pointers so I could explore further.

Re: Source for encrypt/decrypt implementation

Posted: Tue Aug 27, 2013 8:52 am
by monte
If it were me I would start with find in files on encrypt and then follow my nose ;-)

Re: Source for encrypt/decrypt implementation

Posted: Tue Aug 27, 2013 11:00 am
by monte
Looks like the file you need is mcssl.cpp

Re: Source for encrypt/decrypt implementation

Posted: Tue Aug 27, 2013 11:03 am
by rjk
monte wrote:If it were me I would start with find in files on encrypt and then follow my nose ;-)
I presume by "find in files" you mean searching the LiveCode master branch I downloaded from GitHub onto my Windows machine. Your suggestion then finds only two files - encrypt.xml and encrypt-using-rsa.xml

Re: Source for encrypt/decrypt implementation

Posted: Tue Aug 27, 2013 11:08 am
by rjk
monte wrote:Looks like the file you need is mcssl.cpp
Thank you for your assistance - this gives me a starting point to explore further (and try to understand the engine source).