Click here to Skip to main content
15,903,856 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,

I need to generate a MAC on a string of data in php.
A 3DES algorithm must be used, since we are interfacing into a 3rd party system.

In c# you can use the library MACTripleDES to generate this.

How can I generate the MAC in php?

Thanks!
Posted
Updated 16-May-12 5:37am
v3

1 solution

Get the Mcrypt extension for PHP. See the PHP manual[^] for details and required libraries.

Peter
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900