iso8583 packet domain 62 using

62 domain use

With double-length key algorithm as an example

The pin 62 of the working memory domain key ciphertext and MAC work key ciphertext

Format: working key ciphertext pin 16 bytes + 4 bytes corresponding checkvalue, 8-byte MAC work key ciphertext 0 + 8 bits + respective 4-byte padding CheckValue

Pos checkvalue will check to determine whether unpack error.

 

Master key CE31B0C2D38034706861B0AE86CE91D0

Pin working key ciphertext: 11111111111111111111111111111111

MAC work key ciphertext: 222222222222222

 

First seek checkvalue first portion, using the master key to pin16 byte ciphertext into plaintext solution,

 

 

 

The solution out plaintext as double length key algorithm key to the 0 byte 8 into ciphertext, take the first four bytes of the ciphertext is checkvalue.

Checkvalue=405E8F0B

 

 

And then seek the MAC checkvalue, using the master key to pin8 byte ciphertext into plaintext Solutions

 

 

The solution out plaintext as a single key algorithm key length 8 times 0 bytes into ciphertext, to take the first four bytes of the ciphertext is checkvalue.

Checkvalue=25E9A6B1

 

Field is 62 11 11 11 11 11 11 11 11 11 1111 11 11 11 11 11 E6 2E CC 05 22 22 22 22 22 22 22 22 00 00 00 00 00 00 00 0025 E9 A6 B1

Above encryption and decryption are performed using software, you can watch how to do this in software encryption and decryption.

 

Published 39 original articles · won praise 2 · Views 4998

Guess you like

Origin blog.csdn.net/u013636987/article/details/52197607