⚡
usefultools.dev
DES

DES Calculator (DES / 3DES)

NOVO

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.

Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.

Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.

KCV 08D7B4

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

⚡

Exemplos rápidos

Entradas típicas e os resultados que esta ferramenta gera.

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
📖

Visão geral

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.

Por que usar esta ferramenta?

  • 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
⭐

Recursos

🔑

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…).

🛠️

Como usar

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.

🤔

Perguntas frequentes