PHP SHA3功能 [英] PHP SHA3 functionality
问题描述
我不希望像 Strawbrary 这样的扩展名
有可能。 可能已经太晚了,但我已经在 这是一个简单快速的实现,在 罚款只需一个小输入。正确处理一个巨大的输入,只需花费 我希望它有帮助。 Is there a framework or function that allows me to use SHA3-512?
I don't want a extension like Strawbrary It's possible. Maybe too late, but I've worked on a It is a simple and fast implementation in Fine with a small input. Correctly handles a huge input, just hogs I hope it helps. 这篇关于PHP SHA3功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! pure-PHP
实现这里上工作:
$ b
LGPL 3 +
PHP 5.2 +
(相对较老的 PHP
而言相当慢)
C
中的(公有领域)参考实现。
PHP
(这意味着远慢于C )。由于这纯粹是CPU绑定,因此 PHP 7.0
的运行速度比 PHP 5.6
快4倍。 (55kB / s在这里)
CPU
几分钟即可。
pure-PHP
implementation here:
LGPL 3+
PHP 5.2+
(considerably slower on older PHP
)C
.PHP
(which means far slower than C). Since this is purely "CPU-bound", PHP 7.0
runs 4x faster than PHP 5.6
. (55kB/s here)CPU
for minutes.