php 和 java共用的加密方法
程序员文章站
2022-06-08 09:58:14
...
http://www.php.net/manual/en/ref.mcrypt.php To have the same result in Java and PHP with the BouncyCastle library : php function encrypt($str, $operation, $key) { $ret = ''; $key = pack('H*', $key); if (strtoupper($operation) == 'DECODE')
http://www.php.net/manual/en/ref.mcrypt.php
To have the same result in Java and PHP with the BouncyCastle library :
php
java
上一篇: ps处理模糊照片的10种技巧总结