1.MF建立(只需执行一次).txt
514 Bytes
main:
FUN_61XXENABLE // Auto Get Response
FUN_6CXXENABLE // Auto Resend Command
ResetSmartCard
0084 0000 08;[0:8]//取随机数
Fun_DesEn([01:8],FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF,[11:18])//计算DES
0082 0000 08+[11:18];SW=9000//外部认证
800E 0200 00;SW=9000
//建立3F00
80E0 3F00 1D 38FFFFFAFA01FFFFFF12345678 D6C7D0C5C8DAB4B4D4B0C7F8D3A6D3C3 ;SW=9000
//建立Key文件
80E0 0000 07 3F 00F0 01 FA FFFF ;SW=9000
////添加密钥
//卡片主控,密钥标识00,
80D4 0100 15 F9 F0F0 AA 88 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ;SW=9000