Symmetric cryptography, hashing and PIN block sanity checking for EftPos developers


PIN

PAN (with check digit)
icon-arrow48 PlainText/PIN-block Unpacked (hex)
ctb-right

Master key

Encrypted session key
icon-arrow48 Session key Unpacked (hex)

Cryptographic algorithms
Note: For AES-xxx, use Rijndael-128 with xxx key size.
CipherText/Digest/encr. PIN-block

Base64

Cipher block chaining mode
Note: nofb/ncfb=block-wise, ofb/cfb=byte-wise.
Initialization vector

icon-help Getting unexpected results? Please contact us.