⚡
usefultools.dev
AAV ?

AAV Decoder (Mastercard SPA)

NOVO

AAV decoder: split a Mastercard SPA AAV (Base64 or hex) into control byte, merchant hash, ACS id, method, key id, sequence number and MAC.

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.

Decoding runs locally in your browser. The layout is the original Mastercard SPA (3-D Secure 1.0) AAV; SPA2 values used by EMV 3-D Secure have a different structure.

⚡

Exemplos rápidos

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

jHyn+7YFi1EUAREAAAAvBDkAAAA=
8C authenticated · CVC2 439
jHyn+7YFi1EUAREAAAAv6yf8f6s=
TSN 47 · MAC EB27FC7FAB
hhyn+7YFi1EUAQAAAAAvBDkAAAA=
86 attempted · method 0
8C7CA7FB…2F0439000000
ACS 1 · password · BIN key 1
📖

Visão geral

The Accountholder Authentication Value (AAV) is the proof of authentication that a Mastercard SecureCode (3-D Secure 1.0) ACS returns and the merchant forwards in the authorization. It is 20 bytes, usually shown as 28 Base64 characters, built with the Secure Payment Application (SPA) layout.

This decoder accepts Base64 or 40 hex digits and lists each field: control byte, merchant name hash, ACS identifier, authentication method, BIN key identifier, transaction sequence number and MAC. Add the merchant name to check that its hash matches. A MAC that holds a BCD value followed by zeros is flagged as a CVC2-method MAC. Decoding happens in your browser.

Por que usar esta ferramenta?

  • Read AAVs from authorization logs quickly
  • Confirm the merchant name hash matches
  • Spot attempts versus full authentication
  • Runs locally — nothing is uploaded
⭐

Recursos

🔤

Base64 or hex

Paste the 28-character Base64 AAV or its 40 hex digits.

🧾

Every field

Byte positions, raw hex and meaning for all seven SPA fields.

#️⃣

Merchant hash check

Hashes the merchant name with SHA-1 and compares it with bytes 2–9.

⚠️

Clear warnings

Flags unknown control bytes, which usually mean a newer SPA2 value.

🛠️

Como usar

1

Paste the AAV

Base64 (28 characters) or hex (40 digits).

2

Add the merchant name

Optional, to check the hash.

3

Decode

Read the field table and any warnings.

🤔

Perguntas frequentes