Encoding string to bytes for hmac and pairs are hardcoded instead of fetched