All Tools
Tools/PIN Verification (PVV)
🔓
PINBeta

PIN Verification (PVV)

Compute Visa PIN Verification Values (PVV) — ANSI X9.132 algorithm using 2TDEA encryption of the Transformed Security Parameter (TSP) under the PVK.

Use test data only. All calculations run locally in your browser — PayProbe never sees, transmits, or stores your PAN, CVV, keys, PINs, or cryptographic inputs. How we handle data →

Algorithm (ANSI X9.132)

  1. TSP = PVK-Index(1 digit) ∥ PAN rightmost 12 digits excl. check digit ∥ PIN leftmost digit
  2. Pad TSP to 8 bytes with 0x00
  3. 2TDEA encrypt: EDE with PVK1 (left 8B) and PVK2 (right 8B)
  4. Scan 16 hex nibbles left-to-right; collect first 4 decimal (0–9) characters
  5. If < 4 collected, second pass: for each hex A–F, emit (hexValue − 10)