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


Test referenceExpected CipherText resultTest verdict
NESSIE PASS

icon24-bulb Executed rijndael-256 Encrypt operation.

PIN

PAN (with check digit)
icon48-arrow PlainText/PIN-block Unpacked (hex)
ctb-right

Master key

Encrypted session key
icon48-arrow 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

Getting unexpected results? Please contact us.