HSM KitHSM Kit
English

AES PIN Block Format 4

Generate and process AES PIN blocks using Format 4 for secure PIN encryption.
Key:AES-128 key: 32 hex characters (16 bytes)
PAN/PAN Block:[0]
PIN/PIN Block:

📖 How to Use AES PIN Block Tool

• Select "Encrypt" to encrypt a PIN into an AES PIN block, or "Decrypt" to extract a PIN from an encrypted block.
• Enter the AES-128 key (32 hex characters / 16 bytes) used for encryption/decryption.
• Enter the PAN (Primary Account Number / card number, 13-19 digits).
• For encryption: Enter the PIN (4-12 digits).
• For decryption: Enter the encrypted PIN block (32 hex characters).
• Click Encrypt or Decrypt to process.
• The result shows the encrypted block (for encryption) or the decrypted PIN (for decryption), along with intermediate clear blocks.

AES PIN Block FAQ