PIN Block

Create, encrypt, decode and translate ISO 9564 PIN blocks, formats 0 to 4.

Learn: P1 PIN blocks

Encode Decode Translate
ANSI X9.8 Format 0 (ISO-0) Format 1 (ISO-1) Format 2 (ISO-2) Format 3 (ISO-3) Format 4 (ISO-4)
[ ] Random
[ ]
Encode to Plain Pin Block
[ ]
[ ][ ------ ] Random
[ ]
Encrypt PIN Block Reset Key
ANSI X9.8 Format 0 (ISO-0) Format 1 (ISO-1) Format 2 (ISO-2) Format 3 (ISO-3) Format 4 (ISO-4)
[ ][ ------ ]
[ ]
[ ]
Decrypt Pin Block
[ ]
[ ]
Decode Reset Key

Incoming (from)

ISO format 0 (ANSI X9.8)ISO format 1ISO format 2 (offline ICC)ISO format 3ISO format 4 (AES)
TDES
KCV 08D7B4

Outgoing (to)

ISO format 0 (ANSI X9.8)ISO format 1ISO format 2 (offline ICC)ISO format 3ISO format 4 (AES)
AES (ISO-4)
KCV C6A13B
Leave empty to use the incoming PAN.

Translate

Translate PIN block Load example

What an HSM does for a switch (Thales CA / CC, Atalla 31): decrypt under the incoming key, check the format, re-format, encrypt under the outgoing key. The clear PIN is shown here only because this is a test tool.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.