SReverseby Simpa Labs

Request signing

Canonicalising a request body before signing

Match the app's signed body bytes, serializer and canonicalization rules. Verify raw-body hashing separately from normalized JSON and field-based signing.

Find the bytes that enter signing

A signer can receive the raw body, a body digest, selected fields or a normalized document. Capture its actual input and the final transmitted body. Follow each transformation between them instead of assuming the server rebuilds a shorter string.

Keep byte snapshots at serialization, compression, encryption and signing. Match text encoding and record whether a final newline is present. Compare the first differing byte before changing the algorithm or key.

Distinguish JSON data from one serialization

JSON permits different whitespace and object-member order. A raw-byte digest changes when those bytes change. A canonicalization scheme defines its own representation. JSON Canonicalization Scheme defines specific serialization and property-sorting rules; merely sorting keys is not a complete JCS implementation.

Test nested objects, arrays, escaped characters, large integers, decimal formatting and missing versus null fields. Use the app's serializer configuration and custom converters as evidence. A matching display of two JSON values is not a byte comparison.

Keep body and signature construction aligned

Generate the body once at the required stage and pass the correct bytes to signing and transport. If the scheme signs selected fields, record their names, conversion rules and separators. If it signs a digest, save the digest's source bytes too.

Track fields added by later interceptors. Their position in the flow matters only through the scheme's actual coverage. A timestamp does not make every captured body unusable; check how that timestamp is verified and where it enters the signed material.

Verify more than one request

Use known signing vectors to compare the input bytes and result. A byte diff locates a formatting mismatch but does not diagnose a wrong key. Matching one endpoint's signature does not establish the rules for every endpoint.

Test changed inputs and every request builder used by the workflow. The Android delivery covers the full API in Python, JavaScript/TypeScript, Postman and complete documentation. Request signing reconstruction connects these rules to the working client.

Reviewed 19 October 2026 · SReverse research desk

Start your full APK reconstruction

Send the full APK

Projects start at $70. Choose WhatsApp or email, then attach the APK in the app that opens. We reply within one hour with the next step and send the fixed quote after review.

Want us to contact you?