"""Owned Cython module for tracing request bytes, not a recovered app."""
import hashlib
import hmac
import json

def request_bytes(str sku, int count):
    return json.dumps({"sku": sku, "count": count}, separators=(",", ":"), ensure_ascii=False).encode("utf-8")

def sign(bytes body):
    return hmac.new(b"public-fixture-key", body, hashlib.sha256).hexdigest()
