🔄 循环移动十六进制数字Rotate Hex Digits
把每个十六进制数的数字循环左移或右移指定位数(例如 ABCD 左移 1 → BCDA),每行可多个数。适合学习循环移位,数据在本地处理。Rotate each hexadecimal number digits left or right by a given count (e.g. ABCD left 1 -> BCDA). Several values per line. Handy for learning rotations. Processed locally.
使用说明与常见问题How-to & FAQ
「循环移动十六进制数字」是什么?What is the Rotate Hex Digits tool?
把每个十六进制数的数字循环左移或右移指定位数(例如 ABCD 左移 1 → BCDA),每行可多个数。适合学习循环移位,数据在本地处理。Rotate each hexadecimal number digits left or right by a given count (e.g. ABCD left 1 -> BCDA). Several values per line. Handy for learning rotations. Processed locally.
如何使用「循环移动十六进制数字」?How do I use the Rotate Hex Digits tool?
在「循环移动十六进制数字」中,把内容粘贴或输入到上方输入框,按需设置「方向」、「移动位数」,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「ABCD」,得到「BCDA」。Type or paste hex numbers, choose the "Direction" (left or right) and how many "Positions" to rotate by; for example ABCD rotated left by 1 gives BCDA. The results update as you type; click "Copy result" to copy them.
怎样输入多个数?How do I enter several values?
每行一个,或用空格、逗号、分号分隔;可加 0x 前缀,下划线会被忽略。One per line, or separated by spaces, commas or semicolons; a 0x prefix is fine and underscores are ignored.
移动位数大于长度呢?What if Positions is larger than the length?
按长度取模,例如 4 位数字移动 5 = 移动 1;移动 0 位保持原样。字母大小写保持原样。It wraps: for 4 digits, 5 positions = 1; 0 positions leaves the value unchanged. Letter case is kept as typed.
输入和输出是什么样的?What does the input and output look like?
例如在「循环移动十六进制数字」中输入 ABCD,输出为:BCDA(⏎ 表示换行)。For example, the Rotate Hex Digits turns the input ABCD into: BCDA (⏎ marks a line break).
有哪些选项可以调整?What options can I adjust?
「循环移动十六进制数字」的设置:「方向」可选 向左、向右(默认 向左);「移动位数」默认 1;可勾选:「加 0x 前缀」。改动任一选项后结果会按新设置重新生成。Settings in the Rotate Hex Digits — "Direction": Left, Right (default Left); "Positions" default 1; tick boxes: "Add 0x prefix". Changing any option regenerates the result with the new setting.
代码或数据会被上传吗?Is my code or data uploaded?
不会。「循环移动十六进制数字」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The Rotate Hex Digits runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「循环移动十六进制数字」免费吗?需要注册吗?Is the Rotate Hex Digits free? Do I need an account?
「循环移动十六进制数字」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Rotate Hex Digits is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.