原始全部数据
00:7f:60:00:03:00:00:60:32:10:32:00:72:02:00:30:20:04:80:00:c0:80:15:00:00:00:00:00:00:00:12:34:00:00:02:03:00:99:30:30:30:30:30:30:30:31:39:35:32:37:31:38:31:38:32:32:31:37:38:37:35:31:35:36:00:19:26:00:00:01:00:06:00:00:00:00:00:43:5f:01:12:32:38:34:34:31:32:33:34:35:36:37:38:39:30:31:32:33:34:5f:03:06:31:36:30:30:33:36:5f:04:06:32:30:30:38:32:36:5c:02:30:31:42:33:41:30:39:32:41:45
其中数据-前2位是总长度不知道要不要
00:7f: 数据长度
60:00:03:00:00:60:32:10:32:00:72:02:00:30:20:04:80:00:c0:80:15:00:00:00:00:00:00:00:12:34:00:00:02:03:00:99:30:30:30:30:30:30:30:31:39:35:32:37:31:38:31:38:32:32:31:37:38:37:35:31:35:36:00:19:26:00:00:01:00:06:00:00:00:00:00:43:5f:01:12:32:38:34:34:31:32:33:34:35:36:37:38:39:30:31:32:33:34:5f:03:06:31:36:30:30:33:36:5f:04:06:32:30:30:38:32:36:5c:02:30:31
:42:33:41:30:39:32:41:45 系统生成的正确MAC-我要生成的目标数据
TAK(MAC)密钥
0723C80DB5F4CD3D0723C80DB5F4CD3D
显示3DES的双倍算法,具体测试不知道。求解
代码里好像有一位需要增1,我每位都测试了不行。
byte[] mac = new byte[9];
int i = index + 9;
buff[i] = (byte) (buff[i] + 1);
无法我使用那段数据做MAC都得不到正确的MAC值。