Asserts that the data is a hex string of the correct length.
The data to validate.
Descriptive context for error messages.
The expected number of bytes that the data can contain.
Asserts that the data is a hex string of the correct length.
Throws