أمثلة
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.
المدخلات
6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000Expected 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.
المدخلات
6162636465666768Expected 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.
المدخلات
414141414141414142424242Expected 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.
المدخلات
000102030405060708090a0b0c0d0e0fExpected 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.
المدخلات
6f6464206279746573000000Expected 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.
المدخلات
01000200Expected answer
00 02 00 01- تنسيق البيانات
Hex- طول الكلمة (بايت)
4- ملء الكلمات الناقصة
On
المعاملات
| المعامل | القيمة الافتراضية | المدخلات والخيارات |
|---|---|---|
| تنسيق البيانات | سداسي عشري | سداسي عشري, بيانات خام |
| طول الكلمة (بايت) | 4 | عدد |
| ملء الكلمات الناقصة | true | تشغيل أو إيقاف |