这个字符串是如何编码的?(How is this string encoded?)
我正在使用没有文档的blackbox API。 它正在编码字符串
Simba阅读
730069006D0062006100它还编码明文
Rude Awakening阅读
72007500640065006100770061006B0065006E0069006E006700任何人都知道这是什么类型的编码?
谢谢,YM
I'm working with a blackbox API with no documentation. It is encoding the string
Simbato read
730069006D0062006100It also encodes the cleartext
Rude Awakeningto read
72007500640065006100770061006B0065006E0069006E006700Anyone have any idea what type of encoding this is?
Thanks, YM
最满意答案
它以小端 UTF-16输出。 每个字符两个字节,以十六进制形式写入。
7300 - > 73 00 - > 00 73 - >代码点115 ,表示s 。
如您所见,它将文本转换为小写(输入S变为s )。
It outputs in little-endian UTF-16. Two bytes per character, written in hexadecimal form.
7300 -> 73 00 -> 00 73 -> code point 115, meaning s.
As you can see, it converts the text to lower case (input S became s).
更多推荐
发布评论