0

Are there any function in PHP where you can set init state for sha256?

I would like to translate this javascript to php https://github.com/jwhitehorn/jsMiner/blob/4fcdd9042a69b309035dfe9c9ddf716119831a16/engine.js#L149-165

Codler
  • 10,951
  • 6
  • 52
  • 65

1 Answers1

0

Here is a php sha256 class with init state

https://github.com/codler/Bitcoin-phpMiner/blob/ed2e422a025ebf8555ecd53ce03aad631550b3e7/sha256.php

Codler
  • 10,951
  • 6
  • 52
  • 65