blob: d542238f6006160937343f242bdd6746cfeaf80e (
plain)
1
2
3
4
5
6
7
|
# Lucky 13 Section 4.2: 5 plaintext blocks, now for sha256. 32 bytes of output
# Case 0: 0x00 padding byte
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000
# Case 1: At least six valid padding bytes: 80+13-32-7 = 56
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000006060606060606
# Case 2: Invalid padding
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000004030303
|