Format: bLength: 8 bytesFixed length
DE 52

PIN Data

Data element
52
Format
b
Format defined in
ISO 8583:1987
Length
8 bytes
Encoding type
fixed
Bitmap
Primary

What it is

The encrypted PIN block (8 bytes), produced under the terminal PIN key — ISO 9564 formats 0, 1 or 3. The 16-byte AES format 4 does not fit the 1987 b 64 field.

The PIN never travels in clear: the PIN pad forms an ISO 9564 PIN block (format 0 XORs the PIN field with the PAN; format 4 is the AES-based 16-byte block) and encrypts it under the zone PIN key — commonly a DUKPT-derived key. Each hop of the network translates the block from one zone key to the next inside an HSM; the issuer (or its HSM) finally verifies it against PVV or IBM 3624 offset.

Specification reference

Defined in ISO 8583:1987 (base). Card networks publish their own dialect tables (Visa BASE I / V.I.P., Mastercard CIS) that refine formats, lengths, and — for private-use elements — the entire layout. Always confirm against the interface specification you implement.

Decode & build this element

Related data elements