Page 1 of 1

Crypt API

Posted: Tue Oct 23, 2012 9:24 am
by mtx-electronics
I would like to use the EP_CryptEncrypt/Decrypt functions in my application to work with data and then have this same data decoded by some PHP code on a server. I would like to know if these functions are using some standard encryption algo?

Re: Crypt API

Posted: Tue Oct 23, 2012 4:14 pm
by Enigma
EP_CryptEncrypt/Decrypt functions are using standard IDEA cipher. But there are some moments that I do not wish to share.

I have some another solution that you may use in your case. You may develop a very simple dll, that will export two functions - encrypt and decrypt. Inside these functions, call Enigma API. Then protect this dll so Enigma API will work. And then use this protected dll as an addon for php.

In this case, you will be able to use functions from this dll in php.

Re: Crypt API

Posted: Tue Oct 23, 2012 5:23 pm
by mtx-electronics
Nice idea but my server is running Linux :(
I've found another solution that I'm implementing now using some personalized code that will work in C and PHP.

Also nice of you to implement the crypt api, this can come in handy in the future.