1. Frontline Fraud Prevention: Cryptographic Staff Grants & Cashier PIN Lockouts
Unrestricted registers allow staff to delete billed items, grant unauthorized discounts to friends, or peek at owner profit margins. In Syed POS, every staff member signs in with a PBKDF2-SHA256 hashed PIN bound to a cryptographically signed Version-2 Staff Grant enumerating exact permissions (e.g. pos:checkout vs reports:pnl vs settings:manage). Repeated failed PIN attempts trigger an automatic timed lockout.
- Append-only audit trail records the exact userId, terminal deviceId, and timestamp on every sale, return, stock adjustment, and shift close.
PIN Hash: PBKDF2-HMAC-SHA256 (100,000 Iterations + 16-Byte Random Salt)
Staff Grant & Updater Bundle: Ed25519 Signature Verified Before ExecutionEven if a counter PC is offline for days, local staff grants and update packages are verified cryptographically against the embedded public key.


