Skip to main content

Module sensor

Module sensor 

Source
Expand description

vP — top-level sensor encryptor. Chains the six primitives in the captured init.js (line 6050) into the single output the runtime POSTs to /<tenant>/xhr/b/s:

events_json ── jw(·, IS=50) ── h_p ── v_q(secret_feed, ·, offsets) ── payload
                                         ▲
                                         │
                         v_n(secret_feed.len(), payload_b64.len(), cu)
                                         ▲
                                         │
                         v_l(pf)  (= jw(b64(pf), VJ=10))

Functions§

encrypt_sensor
Encrypt a fully serialised sensor event batch.