pub fn hash_message(message: impl AsRef<[u8]>) -> B256
Hash a message the way TronWeb signMessageV2 does.
signMessageV2
Strings are hashed as UTF-8 bytes: "0x1234" is 6 plaintext bytes, not hex.
"0x1234"