FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Encrypt/decrypt compatibility with Microsoft Crypto API?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Encrypt/decrypt compatibility with Microsoft Crypto API? [message #173897] Wed, 11 May 2011 21:03 Go to previous message
Trevor Holyoak is currently offline  Trevor Holyoak
Messages: 3
Registered: February 2011
Karma:
Junior Member
We have a Windows program that we have developed that uses the Microsoft
Crypto API to encrypt/decrypt data using a shared secret from which it
derives a session key.

I now need to be able to access that same data (stored in a database)
from our web site using PHP. I've used mcrypt before, but that doesn't
appear to be a compatible solution. I've done enough research to see
that I might be able to use OpenSSL, but I have not yet been able to
determine whether I'll be able to decrypt data that was encrypted with
the MS Crypto API (as well as the reverse).

I've also looked at the possibility of accessing the MS Crypto API
directly through PHP, but I haven't yet found a good way to do that.

The other option is to write another Windows program that can be called
from PHP, passing stuff on the commandline, and then receive output via
a text file. I'm doing something similar to do some calculations for
something else on the web site already - but it's not very fast.

Any suggestions would be greatly appreciated!

Thanks,
Trevor
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: some of the issues of NOT storing images in a secure database..
Next Topic: New PHP tutorial
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 12 22:56:24 GMT 2024

Total time taken to generate the page: 0.05071 seconds