node-sha3 icon indicating copy to clipboard operation
node-sha3 copied to clipboard

can not use ArrayBuffer

Open 2058633972 opened this issue 2 years ago • 1 comments

My project is run in browser,there is no type of Buffer,I try to use ArrayBuffer but fail,so I can not get the SHA of a binary file in browser,can you sport the ArrayBuffer ?

2058633972 avatar Jun 07 '23 02:06 2058633972

Agreed. Buffer has many issues outlined here: https://sindresorhus.com/blog/goodbye-nodejs-buffer

This library should allow Uint8Array as well as Buffer in-order for this to be usable in more places.

dawsbot avatar Apr 08 '24 05:04 dawsbot