3DES / AES Session Key Visualizer

Step-by-step visualization of 3DES-CBC and AES-CBC session key derivation. See each encryption block's input/output, the diversification constant, and the final session key. Supports GlobalPlatform SCP02 (3DES) and SCP03 (AES) key derivation patterns with sequence counter.

Input

Derivation Steps

Enter parameters and click Derive & Visualize

How to Use

SCP02: Session key = 3DES-CBC(BaseKey, Const || SeqCounter). S-ENC uses constant 0x01 0x01, S-MAC uses 0x01 0x02, DEK uses 0x01 0x03.
SCP03: Base Key Derivation = AES-CBC(StaticKey, Constant || SeqCounter). Then session keys derived via KDF in counter mode.

Related Tools

GP Session Key Calculator (Chinese, full SCP02/SCP03) | Key Diversification Calculator | Crypto Checksum Verifier