Talk:SHA-256 Merkle tree
A little help
Help to this task. I write a program in assembly. the résult is not good !!
Can someone tell me if these intermediate results are ok:
hash for block1 (first 1024 characters)
394A32082A02274BA41E598D9D936A6CD4E2C59D3F60505128A4514881B921DB
hash for block2 (next 1024 characters)
187F826837700ED1F03E5901748018CDAD5F4A8F560BA0DF928AF78DE920878A
hash for last block (0x271 characters)
B3277FD97A028BAF2AFC1CBCC1D8C2A72B07C64BD23ADF433BB3292340C10DDD
thanck you very much --VincentArm
- For what it is worth, I get the same values with the Raku entry. First pass through the file in 1K blocks:
394a32082a02274ba41e598d9d936a6cd4e2c59d3f60505128a4514881b921db 187f826837700ed1f03e5901748018cdad5f4a8f560ba0df928af78de920878a fec8c92c44865f8b5344132e860b39a0cf4053cb5bbdb066f2713004634bf179 eda46d186d98a21a75cbf4e8351895d9988e561779ea4699cb6c691481bc8515 14d150d6abf90f996ebe9a94d3c00ca09fd65fb49004ed704deb12d6e99d5b76 b769880d2edd0d72215652a861e339064066caefaee34e3a36984ec2da111c0b 17598b14a30be9b26c7295efef2e404a79a9dce91bbc7aa92dc05d84a45d5668 b77c577e6e4778740a1896dc8507a00d2536df4869ff1c8d63ef25f50067e2af f6b7209944531368439b21efff798b4a861add9f77c3ce6b3407b9d6073c0901 0fed5939af8ed3b13c8ea86033fe4c3f309fa1d2b862946b093a42d70ac29503 85a3d238f1ce48fbc2c7f352d8042bdcaaded6d7b4de99f14b7aac9478d60cb6 e4cbbbfa269e083d84828ad3277d4fe75605301bb6f6929ad3ac137e58df510a d98873a43da046c8dc30af8274de4a4ab09f49c121e7ba7fd2a51ca348974f38 a929d01f6ffdc0e76534dd972557fc668d15efe24e999e9de838fbb61603e595 abb6ec3328c2a5739ddccc34cffeb23773404f6dbe429bd5b384556acf3a0706 e3de4ce8a2f769f7d90d6fc781b970c719fc53c4c4f33c47f9b00011f4095624 5474e06df82893df98a39062167897b3df0b9ed1b21bf03d2da13693525fe812 098b9b50854f23d0f1ed8e0380ed1a752b86bb1a51748540ec3634dfa14e12be 577f6220c5fdbe29ecf10bbe2c26f4eb351a505ce4d2ad6b13d77d389f531d4e 0c079271dda8e462c51ad4d21dda39afd0a54477799adc8773543eff66070080 771f62d9e3d4126e0919268cce15c626edc2ea6d4c14ba27026656c6432c8f09 b3277fd97a028baf2afc1cbcc1d8c2a72b07c64bd23adf433bb3292340c10ddd
--Thundergnat (talk) 22:36, 10 December 2021 (UTC)
Thank you very much for your answer. My error is therefore in the concatenation of hashes !! I'll find where.