API reference / Devices, signing & primitives / X-Cylons decrypt

X-Cylons decrypt

Decrypt an external X-Cylons header and verify its Lanus MD5 and SM3 digests.

POSTapi.tikultra.com/v1/crypto/x-cylons/decryptPrimitive · 2 credits
Upstream
local · X-Cylons SM3/MD5 inspector
Access
Every plan
Runs on
Primitive
Billing
Failed calls are free

Authorization & parameters

x-api-keyheader · stringrequired

Your API key. Create one in API keys.

Body

Send JSON with content-type: application/json.

x_cylonsstringrequired

Base64 X-Cylons header captured from your own device. For example AQILq7nEOCRCxhO/cr2I749vyyTi8kSLCVdIht2HRqpWQBEj1FOJ8aRK3TGbEYLZ2BIAAAAAaRO4IA==.

query_stringstring

Raw URL query string to verify the SM3/MD5 signature against. For example aid=1233&count=6.

x_ss_stubstring

Optional 32-hex MD5 body digest. For example d41d8cd98f00b204e9800998ecf8427e.

lanuskstring

Session Lanus key to verify lanusk_md5_hex. For example b7e2d49a10c84f63a91e55c0d82b71f4.

lanusvstring

Session Lanus version. For example 1.

Client and egress

Runs locally on the protocol primitive layer with deterministic codec / cryptographic state. See Devices, signing & primitives.

Response

A 200 returns JSON with stable field names. Every response carries x-credits-cost, x-credits-tier and x-credits-remaining.

Response fields

Key top-level and nested fields decoded from the mobile upstream payload:

version_hexstring

Decoded version hex value.

lanusk_md5_hexstring

Decoded lanusk md5 hex value.

lanusv_sm3_hexstring

Decoded lanusv sm3 hex value.

khronosinteger

Decoded khronos value.

create_time_isostring

Decoded create time iso value.

lanusk_matchboolean

Whether lanusk match is enabled or true.

signature_matchboolean

Whether signature match is enabled or true.

Errors

Errors return a JSON body with a stable code and cost 0 credits. See Errors and retries.