I'm not very good at encryption. If anyone has any idea how to help me, speak)).
I have a device that connects to the phone and reads information from a credit card - a kind of card reader .
So here I get this array
44 55 66 77 00 00 21 37 af f9 67 f9 55 80 32 69 b8 d4 d1 39 62 9b c7 c2 1c 41 ae e9 16 64 39 c7 e6 e7 a6 c0 3d 2b e9 5e e2 71 3b e3 7a 05 bd 82 46 02 09 29 fe b7 5c 28 8d e6 6f a4 3d 72 4a 4c b2 d3 62 4e 2d 08 c7 0c f9 49 97 fe c3 0b b8 9a dd 56 f5 a2 3a 0f c6 f9 89 39 3a 1a 38 26 90 25 30 78 4a 81 6b 78 da 28 ad 41 da 48 4e 60 58 73 e5 c4 c1 45 af 35 1f 52 d7 74 f0 99 25 1f 01 05 31 30 30 30 00 00 00 00 00 00 00 00 which is the way to convert with the string
String[] tmps = event.getValue().split(" "); StringBuffer sbf = new StringBuffer(); for (String str : tmps) { sbf.append((char) Integer.parseInt(str, 16)); sbf.append(" "); } final String data = sbf.toString().replaceAll(" ", ""); And in the end I get this value
DUfw !7¯ùgùU2i¸ÔÑ9bÇÂA®éd9Çæç¦À=+é^âq;ãz½F )þ·\(æo¤=rJL²ÓbN-ÇùIþøÝVõ¢:Æù9:8&%0xJkxÚ(AÚHN`XsåÄÁE¯5R×tð%1000 I have this check
// plain text of card data if (data.toUpperCase().startsWith("B") && idx > 0 && data.indexOf("?") > 0) { which says that you can get clean data if the line starts with B , in another case
// encryption data of card data else if (data.length() > 20 + 5 + 4) { This is encrypted data.
So I can not figure out how to decrypt them or how to make sure that they were not originally encrypted.
I tried to decipher in different systems in 10, 2, 8, but nothing happened.
If you forgot something, ask.