CR68 · Authenticated sensor telemetry and replay
HMAC binds the reading and sequence number to a shared key. A receiver compares tags and independently checks whether the sequence is greater than its last accepted sequence. Only acceptance advances the stored sequence. Replay prevention depends on trusted persistent freshness state and key/device identity, not HMAC alone. With initial last=0, sequence 1 and an unchanged reading, the first message is accepted; its identical replay has a valid tag but fails freshness.
Available on another course website
Full content is maintained in IoT Security and Privacy. Configure its deployment URL in course-hosts.js.