encryptionMac
使用ISO/IEC 9797-1中的消息认证码算法3计算密码校验和MIFD和MIC,其中用到分组密码DES、零初始化向量(8字节)和ISO/IEC 9797-1中的填充方法2。 消息认证码长度必须为8字节。 填充方法 2: ISO7816d4Padding Add a single bit with value 1 to the end of the data. Then if necessary add bits with value 0 to the end of the data until the padded data is a multiple of n. 认证码算法3: This algorithm uses initial transformation 1 and output transformation 3. Two independent keys are required, K and K′. Algorithm 3 is also known as Retail MAC.4