假设我的keyA = "D14E2C5A5B5F",我使用这个密钥的byte[]来验证mifare卡byte[] ka = new BigInteger(keyA, 16).toByteArray();第二种方法:public byte[] hexStringToByteArray(String</e
Step 2 If the length of K > B: hash K to obtain an L bytestring, then append (B-L)
zeros to createa B-bytestring K0 (i.e., K0 = H(K) || 00...00).Step 3 If the length of K < B: append zeros to the