Hello. I have been coding the SHA-256 Algorithm in python. I have to store the length of the input in big endian form in 48 bits. For instance, when the input is 88 bits long, it looks like this:
The question is, how am I supposed to implement this? I understood how however what to do when the input is longer than 256 bits long?00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 01011000