Skip to main content

px_native/cipher/
mod.rs

1//! Cipher core for the eT15wiaE px-3 sensor (ADR-0024, N1).
2//!
3//! ```text
4//! events ── JSON.stringify ── jw(·, IS=50) ── h_p ── v_q(salt, ·, v_n(len, secret)) ── url-encoded payload
5//! ```
6
7pub mod b64;
8pub mod offsets;
9pub mod remap;
10pub mod secret;
11pub mod sensor;
12pub mod splice;
13pub mod xor;
14
15pub use b64::h_p;
16pub use offsets::v_n;
17pub use remap::v_m;
18pub use secret::v_l;
19pub use sensor::encrypt_sensor;
20pub use splice::v_q;
21pub use xor::{IS, VJ, jw};