dcposch / blakejs

Pure Javascript implementation of the BLAKE2b and BLAKE2s hash functions

Home Page:https://www.npmjs.com/package/blakejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArrayBuffer support

xxzefgh opened this issue · comments

Is it possible to calculate hash directly from ArrayBuffer, rather than new Uint8Array(arraybuffer)? Would that avoid additional memory allocation for Uint8Array? (I assume browser allocates same amount of memory for cloning, not sure)