Problem: We're passing an extra argument, which looks like it's using
the method signature for `TypedArray.prototype.subarray()`, which gives
you the option of setting the end of the array. Since this method
doesn't give us an optional third parameter the argument is being
ignored.
Solution: Remove the unused argument.
Currently, sodium-native and sodium-javascript are returning different
hashes. The code in hyperdrive passes a 64 byte secret key to the kdf,
but only 32 bytes are used by the native version, but all 64 bytes are
used in the javascript version. As a result, hyperdrive secret keys
can't be imported/exported across the two sodium implementations.
https://gist.github.com/jimpick/3e869522eddaad77ac1bc9e64f36e1a7