是否有允许我使用 SHA3-512 的框架或函数?我不想要像 Strawbrary
Is there a framework or function that allows me to use SHA3-512? I don't want a extension like Strawbrary
有可能.
也许为时已晚,但我已经在这里进行了pure-PHP 实现一个>:
Maybe too late, but I've worked on a pure-PHP implementation here:
LGPL 3+PHP 5.2+ 中工作(在较旧的 PHP 上慢得多)C 中的(公共领域)参考实现.LGPL 3+PHP 5.2+ (considerably slower on older PHP)C.它是在 PHP 中简单快速的实现(这意味着 远比 C 慢).由于这纯粹是受 CPU 限制",PHP 7.0 的运行速度比 PHP 5.6 快 4 倍.(此处为 55kB/s)
It is a simple and fast implementation in 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 几分钟.
Fine with a small input. Correctly handles a huge input, just hogs CPU for minutes.
希望能帮到你.
这篇关于PHP SHA3 功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
PHP、MySQL PDOException 的死锁异常代码?Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死锁异常代码?)
PHP PDO MySQL 可滚动游标不起作用PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滚动游标不起作用)
PHP PDO ODBC 连接PHP PDO ODBC connection(PHP PDO ODBC 连接)
使用 PDO::FETCH_CLASS 和魔术方法Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔术方法)
php pdo 只从 mysql 获取一个值;等于变量的值php pdo get only one value from mysql; value that equals to variable(php pdo 只从 mysql 获取一个值;等于变量的值)
MSSQL PDO 找不到驱动程序MSSQL PDO could not find driver(MSSQL PDO 找不到驱动程序)