⚡
usefultools.dev
DES

DES Calculator (DES / 3DES)

NOUVEAU

Encrypt and decrypt hex data with DES or Triple DES (2-key and 3-key) in ECB or CBC mode, and get the key check value.

Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.

Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.

KCV 08D7B4

Runs entirely in your browser. Use test keys only — never paste production keys into a web page.

⚡

Exemples rapides

Des entrées typiques et les résultats produits par cet outil.

DES
Key 0123…CDEF · 4E6F772069732074
3FA40E8A984D4815
TDES
Key 0123…3210 · 0000000000000000
08D7B4FB629D0885
TDES
AABB · ISO 9797-1 M2 pad
EC8BFF48E820BD0F
KCV
Key 0123…CDEF FEDC…3210
KCV 08D7B4
KCV
Key 0123456789ABCDEF
KCV D5D44F
📖

Présentation

DES and Triple DES are still found throughout payment systems: PIN encryption keys, MAC keys, card verification keys and key-encrypting keys in many HSMs and terminals are TDES keys. Developers and testers often need to encrypt one block by hand to check a value from a log or a specification.

This calculator encrypts or decrypts hex data with single DES (8-byte key) or Triple DES with a 16-byte (2-key) or 24-byte (3-key) key, in ECB or CBC mode with your own IV. It shows the key check value, the first three bytes of the key encrypting zeros, so you can confirm you typed the right key. Optional zero or ISO 9797-1 method 2 padding is applied before encryption.

Pourquoi utiliser cet outil ?

  • Check cryptograms and encrypted values from test logs
  • Confirm a key with its KCV before loading it
  • Reproduce worked examples from payment specifications
  • Runs in your browser — use test keys only
⭐

Fonctionnalités

🔑

DES and TDES

Single DES, 2-key (K1K2K1) and 3-key Triple DES.

🔗

ECB and CBC

Choose the block mode; CBC takes an 8-byte IV.

✅

Key check value

KCV is shown live as you type the key.

🧩

Padding options

None, zero bytes, or ISO 9797-1 method 2 (80 00…).

🛠️

Mode d'emploi

1

Choose algorithm

DES or Triple DES, ECB or CBC.

2

Enter the key

Check the KCV matches your key documentation.

3

Enter data

Hex data, a multiple of 8 bytes unless you pad.

4

Encrypt or decrypt

Copy the result.

🤔

Questions fréquentes