miguelmota/keccak256

Unspecified behavior: strings that look like Buffers

Opened this issue · 0 comments

Current functionality is that if a string is provided, but that string looks like a data buffer, then it is treated as hexdata, rather than UTF-8 string.

This is useful but is undefined behavior.

Should be documented in README.