[英]Encryption algorithm published with MSR606 Magnetic Stripe Card Reader/Writer Programmer's Manual
I have the following manual for MSR206 Progammers. 我有以下MSR206 Progammers手册。
http://www.ylk-ic.com/MSR606%20Programmer%27s%20Manual.pdf http://www.ylk-ic.com/MSR606%20Programmer%27s%20Manual.pdf
In the given manual, 在给定的手册中,
ABC123 ABC123
has been converted to C5B07814954E3E2A and 12345 has been converted to 2B8849EAAF . 已转换为C5B07814954E3E2A和12345已转换为2B8849EAAF 。
The encryption algorithm is stated in Page: 12 and 24. 在第12页和第24页中说明了加密算法。
Please help me figure it out. 请帮我弄清楚。
I want to write for example "HELLO" in Track 1 and 896 in track 2 and 3. 我想在磁道1和896在磁道2和3中编写“ HELLO”。
Manually encoding from ASCII into those hex strings appears to be only necessary if you use the raw write command. 仅当您使用原始写入命令时,才有必要从ASCII手动编码为那些十六进制字符串。 It is much easier to use the write command described on page 15 of the PDF, which takes ASCII directly.
使用第15页的PDF(直接采用ASCII)描述的写命令要容易得多。 For your example data, the complete command would be:
对于您的示例数据,完整的命令将是:
0x1b 'w' 0x1b 's' 0x1b 0x01 'H' 'E' 'L' 'L' 'O' 0x1b 0x02 '8' '9' '6' 0x1b 0x03 '8' '9' '6' '?' 0x1c
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.