Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
Loading...
Searching...
No Matches
pin_guard.h File Reference

PIN storage (salted SHA-256) with constant-time check and escalating lockout (pure C++20, no heap). More...

#include "prov_types.h"

Go to the source code of this file.

Classes

struct  prov::PinResult
 
class  prov::PinGuard
 Guards the PIN. The 5th consecutive wrong PIN starts a lockout of min(60 s * 2^k, 3600 s), k = lockouts since the last success; the failure count then resets. Lockout state lives in RAM only. More...
 

Enumerations

enum class  PinCheck { Ok , Wrong , LockedOut , NotSet }
 

Detailed Description

PIN storage (salted SHA-256) with constant-time check and escalating lockout (pure C++20, no heap).