Here's the result in CI: https://ci.digitalbazaar.com/job/equihash/6/console The test is here: https://github.com/digitalbazaar/equihash/blob/implementation/test/test.js#L75-L99 The issue can be produced with a variety of strings that are not properly Base64 encoded.