js-sha512
js-sha512 copied to clipboard
Binary and base64 ouput added
Hi,
Thank you for this great library. It's works easily directly in browser and for most project is very important.
I don't know if the project still maintain. I do this PR because there is some missing ouput like binary and base64.
In PHP, the function hash_hmac(string $algo, string $data, string $key, bool $binary = false): string
, the last param can create directly a binary string of the hash. This is used by many project.