ACS ACR83 PINeasy Smart Card Reader User Manual
Page 38
ACR83 – Reference Manual
Version 1.05
www.acs.com.hk
Page 38 of 49
Command Header
OffsetOld
SpePINLen
APDU Header
APDU
Lc
OffsetOld
Offset SpePINPos = 2 bytes
Old PIN
00 24 00 01
12
Offset
Offset
(1 Byte)
SpePINSize
(4 bits)
Not used field Old PIN
00 24 00 01
12
1 byte
0A
Input 6 digits
0110
Old PIN
00 24 00 01
12
2F
0A
0110
(bits)
0110
Old PIN
00 24 00 01
12
2F
0A
6
6 replace
A
6
0110
Old PIN
OffsetNew
SpePINLen
OffsetNew
Offset SpePINPos 8 bits = 1 byte
New PIN
Offset
Offset (1
Byte)
SpePINSize (4 bits)
Not used
field
New PIN
0A bytes
FB
Input 10 digits
0111
New PIN
relative to Lc
FB
1010
(bits)
0111
New PIN
2E
FB
1010
(
1010
replace original
C
7)
0111
New PIN
First, handle the Old PIN.
Old PIN (Byte)
Original
00 24 00 01 12 2F 0A A6 30 30 30 30 30 30 2E FB C7 30 30
30 30 30 30
Input
12 34 56
Result PIN
00 24 00 01 12 2F 0A
6
6
12 34 56
30 30 30 2E FB C7 30 30
30 30 30 30
And then handle the New PIN.
New PIN (Byte)
Original
00 24 00 01 12 2F 0A
6
6
12 34 56
30 30 30 2E FB C7 30 30
30 30 30 30
Input
12 34 56 78 90
Result PIN
00 24 00 01 12 2F 0A
6
6
12 34 56
30 30 30 2E FB
A
7
12 34
56 78 90
30
The whole APDU after the format will be:
00 24 00 01 12 2F 0A
6
6
12 34 56
30 30 30 2E FB
A
7
12 34 56 78 90
30h