phphashsha-3

PHP SHA3 functionality


Is there a framework or function that allows me to use SHA3-512? I don't want a extension like Strawbrary


Solution

  • It's possible.

    Maybe too late, but I've worked on a pure-PHP implementation here:

    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)

    Fine with a small input. Correctly handles a huge input, just hogs CPU for minutes.

    I hope it helps.