PHP中的3DES CBC MAC. [英] 3DES CBC MAC in PHP.
本文介绍了PHP中的3DES CBC MAC.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我需要在php中的数据字符串上生成MAC.
由于我们正在连接到第三方系统,因此必须使用3DES算法.
在c#中,您可以使用MACTripleDES库生成此库.
如何在php中生成MAC?
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!
推荐答案
获取PHP的Mcrypt扩展.请参见 PHP手册 [
Get the Mcrypt extension for PHP. See the PHP manual[^] for details and required libraries.
Peter
这篇关于PHP中的3DES CBC MAC.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文