Prepend Bytes

View as MarkdownOpen in Claude

We first need to convert our Prepend hex string value into bytes. This will be used to generate a HMAC Hash later.

1# Generate bytestring from prepend hex str.
2prepend_bytes = bytes.fromhex(prepend)