Closed sekhavati closed 3 years ago
@sekhavati Which environment are you running object-hash in?
@addaleax Thanks for the response. I'm normally using Node v14 within AWS Lambda. For the example above whilst testing it was using a vanilla codesandbox.io project.
Right – if you’re using Node.js, this should work fine. I guess the codesandbox.io environment just reports that it supports hashes which it doesn’t actually support.
The documentation for this library seems to suggest it supports any of the cryptographic hashes that
crypto.getHashes()
returns:Hashes available:
But when I try to use them I get the following error:
Should this work or have I misunderstood the documentation quoted above?