Jump to content

Incompatible AES implementations


ict_ashley

Recommended Posts

I've been asked to write a PHP script that will take software licence information from a C++ program, register it in a db, AES 256 encrpyt it and pass it back. I started off downloading the PHP implementation from www.movable-type.co.uk ... but the output from that wasn't recognised by the C++ script.

 

Then I installed PHP's mcrypt library ... but the output from that wasn't recognised either. Then I followed a link to a PHP implementation on sourceforge from the AES Wikipedia page ... but that wasn't recognised either.

 

So basically, I have three implementations of AES 256, all of which can decrypt their own encrpytions, but none of which can understand each other. Is that normal? I'm no expert on encrpytion, but surely there can't be "interpretations" of AES?

 

???

 

Link to comment
https://forums.phpfreaks.com/topic/162333-incompatible-aes-implementations/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.