The doc said the converter would return zero, which is wrong, it fails
to return (i.e. no confusion possible with zero).
hex2i
Converts a hex string containing two hex digits per input byte to an
- integer. If the input value cannot be converted, then zero is returned.
+ integer. If the input value contains a character which is not a
+ hexadecimal digit, the converter fails and returns nothing, which makes it
+ possible to differentiate an invalid input from a valid zero.
hmac(<algorithm>,<key>)
Converts a binary input sample to a message authentication code with the given