交換位元組順序

按字長反轉位元組順序,在大端和小端表示之間轉換。

輸入: 文本結果: 文本

文本輸入

工具選項

範例

Reproduce the Bitcoin genesis block ID from its 80-byte header — step 3

Demonstrate double SHA-256, hashing decoded bytes rather than hash text, and displayed byte order.

輸入

6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000

Expected answer

00 00 00 00 00 19 d6 68 9c 08 5a e1 65 83 1e 93 4f f7 63 ae 46 a2 a6 c1 72 b3 f1 b6 0a 8c e2 6f
資料格式
Hex
字組長度(位元組)
32
填充不完整字組
On
An alphabet fixture

An alphabet fixture. Inspect exact byte compatibility. A legacy digest or a passing fixture does not establish that an algorithm is suitable for new security designs.

輸入

6162636465666768

Expected answer

64 63 62 61 68 67 66 65
資料格式
Hex
字組長度(位元組)
4
填充不完整字組
On
A repeated byte fixture

A repeated byte fixture. Inspect exact byte compatibility. A legacy digest or a passing fixture does not establish that an algorithm is suitable for new security designs.

輸入

414141414141414142424242

Expected answer

41 41 41 41 41 41 41 41 42 42 42 42
資料格式
Hex
字組長度(位元組)
4
填充不完整字組
On
A small counter fixture

A small counter fixture. Inspect exact byte compatibility. A legacy digest or a passing fixture does not establish that an algorithm is suitable for new security designs.

輸入

000102030405060708090a0b0c0d0e0f

Expected answer

03 02 01 00 07 06 05 04 0b 0a 09 08 0f 0e 0d 0c
資料格式
Hex
字組長度(位元組)
4
填充不完整字組
On
An odd-length fixture

An odd-length fixture. Inspect exact byte compatibility. A legacy digest or a passing fixture does not establish that an algorithm is suitable for new security designs.

輸入

6f6464206279746573000000

Expected answer

20 64 64 6f 65 74 79 62 00 00 00 73
資料格式
Hex
字組長度(位元組)
4
填充不完整字組
On
A short little-endian fixture

A short little-endian fixture. Inspect exact byte compatibility. A legacy digest or a passing fixture does not establish that an algorithm is suitable for new security designs.

輸入

01000200

Expected answer

00 02 00 01
資料格式
Hex
字組長度(位元組)
4
填充不完整字組
On

参數

参數默認值輸入與選項
資料格式十六進位十六進位, 原始資料
字組長度(位元組)4數字
填充不完整字組true開啟或关閉

相关工具

資料格式

操作参考

查看原始技术文檔 (English)