Thanks for taking your time creating this video. Interesting to see how you break down this problem into small chunks. Just an observation though: when i = 0, inp[128] will read outside the memory allocated to inp as it is zero indexed, and when i = 127, last iteration, it'll read inp[1], when you'd want inp[0]. so you should instead do inp[128 -1 - i ].
The input should be 1024bit
Thanks for taking your time creating this video. Interesting to see how you break down this problem into small chunks. Just an observation though: when i = 0, inp[128] will read outside the memory allocated to inp as it is zero indexed, and when i = 127, last iteration, it'll read inp[1], when you'd want inp[0]. so you should instead do inp[128 -1 - i ].
input should be 1024 bit and it should be 127 - i instead of 128 -i !