这个字符串是如何编码的?(How is this string encoded?)

编程入门 行业动态 更新时间:2024-10-07 18:26:07
这个字符串是如何编码的?(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

Simba

to read

730069006D0062006100

It also encodes the cleartext

Rude Awakening

to read

72007500640065006100770061006B0065006E0069006E006700

Anyone 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).

更多推荐

本文发布于:2023-07-27 04:08:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1284906.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字符串   string   encoded

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!