【发布时间】:2011-04-04 15:29:21
【问题描述】:
为什么这两种在 ecb-mode 中使用河豚的方法会有不同的输出?
<?php
echo bin2hex(mcrypt_encrypt("blowfish", "test", "test", "ecb"))."\n";
echo bin2hex(openssl_encrypt("test", "bf-ecb", "test", true))."\n";
?>
【问题讨论】:
标签: php encryption openssl mcrypt