round 18
theta rho pi chi iota




round 18: before theta
A[0] = 0x0b6299508780179e
A[1] = 0x30b2ad6b4eac47d6
A[2] = 0x936e7be53422d9a8
A[3] = 0xfbb32a524c869e35
A[4] = 0xd5634366231c2594
A[5] = 0xa43a9c30165236f3
A[6] = 0x146c8f8fd34800cc
A[7] = 0xbe548aee36d778b5
A[8] = 0x28ac797393edda5a
A[9] = 0x6be14cc919e78471
A[10] = 0x18660ce39018cc6d
A[11] = 0x6941cf2ab36d2725
A[12] = 0x50b2b67fdafe5a96
A[13] = 0xfc4f7936fc26f3d4
A[14] = 0x2819713b58a5ed69
A[15] = 0x8561eed81de2c2ce
A[16] = 0x11b4a909e9df3f54
A[17] = 0x34da23a8e18e8c0a
A[18] = 0x48b36d82f10aa24b
A[19] = 0x3569a9eea100e87f
A[20] = 0x88108ef392c96ad4
A[21] = 0xe74aed8d6d8763bf
A[22] = 0xfcb58d55252b2688
A[23] = 0xface1ad1a5b10b9f
A[24] = 0xfeb36b9d66325aad



round 18: theta
C[0] = A[0] ^ A[5] ^ A[10] ^ A[15] ^ A[20]
= 0x0b6299508780179e ^ 0xa43a9c30165236f3 ^ 0x18660ce39018cc6d ^ 0x8561eed81de2c2ce ^ 0x88108ef392c96ad4
= 0xba4f69a88ee1451a
C[1] = A[1] ^ A[6] ^ A[11] ^ A[16] ^ A[21]
= 0x30b2ad6b4eac47d6 ^ 0x146c8f8fd34800cc ^ 0x6941cf2ab36d2725 ^ 0x11b4a909e9df3f54 ^ 0xe74aed8d6d8763bf
= 0xbb61a94aaad13cd4
C[2] = A[2] ^ A[7] ^ A[12] ^ A[17] ^ A[22]
= 0x936e7be53422d9a8 ^ 0xbe548aee36d778b5 ^ 0x50b2b67fdafe5a96 ^ 0x34da23a8e18e8c0a ^ 0xfcb58d55252b2688
= 0xb5e7e9891cae5109
C[3] = A[3] ^ A[8] ^ A[13] ^ A[18] ^ A[23]
= 0xfbb32a524c869e35 ^ 0x28ac797393edda5a ^ 0xfc4f7936fc26f3d4 ^ 0x48b36d82f10aa24b ^ 0xface1ad1a5b10b9f
= 0x9d2d5d4477f61e6f
C[4] = A[4] ^ A[9] ^ A[14] ^ A[19] ^ A[24]
= 0xd5634366231c2594 ^ 0x6be14cc919e78471 ^ 0x2819713b58a5ed69 ^ 0x3569a9eea100e87f ^ 0xfeb36b9d66325aad
= 0x5d41bce7a56cfe5e
D[0] = LeftRotation(C[1], 1) ^ C[4]
= LeftRotation(0xbb61a94aaad13cd4, 1) ^ 0x5d41bce7a56cfe5e
= 0x76c3529555a279a9 ^ 0x5d41bce7a56cfe5e
= 0x2b82ee72f0ce87f7
D[1] = LeftRotation(C[2], 1) ^ C[0]
= LeftRotation(0xb5e7e9891cae5109, 1) ^ 0xba4f69a88ee1451a
= 0x6bcfd312395ca213 ^ 0xba4f69a88ee1451a
= 0xd180babab7bde709
D[2] = LeftRotation(C[3], 1) ^ C[1]
= LeftRotation(0x9d2d5d4477f61e6f, 1) ^ 0xbb61a94aaad13cd4
= 0x3a5aba88efec3cdf ^ 0xbb61a94aaad13cd4
= 0x813b13c2453d000b
D[3] = LeftRotation(C[4], 1) ^ C[2]
= LeftRotation(0x5d41bce7a56cfe5e, 1) ^ 0xb5e7e9891cae5109
= 0xba8379cf4ad9fcbc ^ 0xb5e7e9891cae5109
= 0x0f6490465677adb5
D[4] = LeftRotation(C[0], 1) ^ C[3]
= LeftRotation(0xba4f69a88ee1451a, 1) ^ 0x9d2d5d4477f61e6f
= 0x749ed3511dc28a35 ^ 0x9d2d5d4477f61e6f
= 0xe9b38e156a34945a
A[0] = A[0] ^ D[0]
= 0x0b6299508780179e ^ 0x2b82ee72f0ce87f7
= 0x20e07722774e9069
A[5] = A[5] ^ D[0]
= 0xa43a9c30165236f3 ^ 0x2b82ee72f0ce87f7
= 0x8fb87242e69cb104
A[10] = A[10] ^ D[0]
= 0x18660ce39018cc6d ^ 0x2b82ee72f0ce87f7
= 0x33e4e29160d64b9a
A[15] = A[15] ^ D[0]
= 0x8561eed81de2c2ce ^ 0x2b82ee72f0ce87f7
= 0xaee300aaed2c4539
A[20] = A[20] ^ D[0]
= 0x88108ef392c96ad4 ^ 0x2b82ee72f0ce87f7
= 0xa39260816207ed23
A[1] = A[1] ^ D[1]
= 0x30b2ad6b4eac47d6 ^ 0xd180babab7bde709
= 0xe13217d1f911a0df
A[6] = A[6] ^ D[1]
= 0x146c8f8fd34800cc ^ 0xd180babab7bde709
= 0xc5ec353564f5e7c5
A[11] = A[11] ^ D[1]
= 0x6941cf2ab36d2725 ^ 0xd180babab7bde709
= 0xb8c1759004d0c02c
A[16] = A[16] ^ D[1]
= 0x11b4a909e9df3f54 ^ 0xd180babab7bde709
= 0xc03413b35e62d85d
A[21] = A[21] ^ D[1]
= 0xe74aed8d6d8763bf ^ 0xd180babab7bde709
= 0x36ca5737da3a84b6
A[2] = A[2] ^ D[2]
= 0x936e7be53422d9a8 ^ 0x813b13c2453d000b
= 0x12556827711fd9a3
A[7] = A[7] ^ D[2]
= 0xbe548aee36d778b5 ^ 0x813b13c2453d000b
= 0x3f6f992c73ea78be
A[12] = A[12] ^ D[2]
= 0x50b2b67fdafe5a96 ^ 0x813b13c2453d000b
= 0xd189a5bd9fc35a9d
A[17] = A[17] ^ D[2]
= 0x34da23a8e18e8c0a ^ 0x813b13c2453d000b
= 0xb5e1306aa4b38c01
A[22] = A[22] ^ D[2]
= 0xfcb58d55252b2688 ^ 0x813b13c2453d000b
= 0x7d8e9e9760162683
A[3] = A[3] ^ D[3]
= 0xfbb32a524c869e35 ^ 0x0f6490465677adb5
= 0xf4d7ba141af13380
A[8] = A[8] ^ D[3]
= 0x28ac797393edda5a ^ 0x0f6490465677adb5
= 0x27c8e935c59a77ef
A[13] = A[13] ^ D[3]
= 0xfc4f7936fc26f3d4 ^ 0x0f6490465677adb5
= 0xf32be970aa515e61
A[18] = A[18] ^ D[3]
= 0x48b36d82f10aa24b ^ 0x0f6490465677adb5
= 0x47d7fdc4a77d0ffe
A[23] = A[23] ^ D[3]
= 0xface1ad1a5b10b9f ^ 0x0f6490465677adb5
= 0xf5aa8a97f3c6a62a
A[4] = A[4] ^ D[4]
= 0xd5634366231c2594 ^ 0xe9b38e156a34945a
= 0x3cd0cd734928b1ce
A[9] = A[9] ^ D[4]
= 0x6be14cc919e78471 ^ 0xe9b38e156a34945a
= 0x8252c2dc73d3102b
A[14] = A[14] ^ D[4]
= 0x2819713b58a5ed69 ^ 0xe9b38e156a34945a
= 0xc1aaff2e32917933
A[19] = A[19] ^ D[4]
= 0x3569a9eea100e87f ^ 0xe9b38e156a34945a
= 0xdcda27fbcb347c25
A[24] = A[24] ^ D[4]
= 0xfeb36b9d66325aad ^ 0xe9b38e156a34945a
= 0x1700e5880c06cef7



round 18: after theta
A[0] = 0x20e07722774e9069
A[1] = 0xe13217d1f911a0df
A[2] = 0x12556827711fd9a3
A[3] = 0xf4d7ba141af13380
A[4] = 0x3cd0cd734928b1ce
A[5] = 0x8fb87242e69cb104
A[6] = 0xc5ec353564f5e7c5
A[7] = 0x3f6f992c73ea78be
A[8] = 0x27c8e935c59a77ef
A[9] = 0x8252c2dc73d3102b
A[10] = 0x33e4e29160d64b9a
A[11] = 0xb8c1759004d0c02c
A[12] = 0xd189a5bd9fc35a9d
A[13] = 0xf32be970aa515e61
A[14] = 0xc1aaff2e32917933
A[15] = 0xaee300aaed2c4539
A[16] = 0xc03413b35e62d85d
A[17] = 0xb5e1306aa4b38c01
A[18] = 0x47d7fdc4a77d0ffe
A[19] = 0xdcda27fbcb347c25
A[20] = 0xa39260816207ed23
A[21] = 0x36ca5737da3a84b6
A[22] = 0x7d8e9e9760162683
A[23] = 0xf5aa8a97f3c6a62a
A[24] = 0x1700e5880c06cef7



round 18: rho
A[0] = LeftRotation(A[0] , 0)
= LeftRotation(0x20e07722774e9069, 0)
= 0x20e07722774e9069
A[1] = LeftRotation(A[1] , 1)
= LeftRotation(0xe13217d1f911a0df, 1)
= 0xc2642fa3f22341bf
A[2] = LeftRotation(A[2] , 62)
= LeftRotation(0x12556827711fd9a3, 62)
= 0xc4955a09dc47f668
A[3] = LeftRotation(A[3] , 28)
= LeftRotation(0xf4d7ba141af13380, 28)
= 0x41af13380f4d7ba1
A[4] = LeftRotation(A[4] , 27)
= LeftRotation(0x3cd0cd734928b1ce, 27)
= 0x9a49458e71e6866b
A[5] = LeftRotation(A[5] , 36)
= LeftRotation(0x8fb87242e69cb104, 36)
= 0x69cb1048fb87242e
A[6] = LeftRotation(A[6] , 44)
= LeftRotation(0xc5ec353564f5e7c5, 44)
= 0x5e7c5c5ec353564f
A[7] = LeftRotation(A[7] , 6)
= LeftRotation(0x3f6f992c73ea78be, 6)
= 0xdbe64b1cfa9e2f8f
A[8] = LeftRotation(A[8] , 55)
= LeftRotation(0x27c8e935c59a77ef, 55)
= 0xf793e4749ae2cd3b
A[9] = LeftRotation(A[9] , 20)
= LeftRotation(0x8252c2dc73d3102b, 20)
= 0x2dc73d3102b8252c
A[10] = LeftRotation(A[10] , 3)
= LeftRotation(0x33e4e29160d64b9a, 3)
= 0x9f27148b06b25cd1
A[11] = LeftRotation(A[11] , 10)
= LeftRotation(0xb8c1759004d0c02c, 10)
= 0x05d640134300b2e3
A[12] = LeftRotation(A[12] , 43)
= LeftRotation(0xd189a5bd9fc35a9d, 43)
= 0x1ad4ee8c4d2decfe
A[13] = LeftRotation(A[13] , 25)
= LeftRotation(0xf32be970aa515e61, 25)
= 0xe154a2bcc3e657d2
A[14] = LeftRotation(A[14] , 39)
= LeftRotation(0xc1aaff2e32917933, 39)
= 0x48bc99e0d57f9719
A[15] = LeftRotation(A[15] , 41)
= LeftRotation(0xaee300aaed2c4539, 41)
= 0x588a735dc60155da
A[16] = LeftRotation(A[16] , 45)
= LeftRotation(0xc03413b35e62d85d, 45)
= 0x5b0bb80682766bcc
A[17] = LeftRotation(A[17] , 15)
= LeftRotation(0xb5e1306aa4b38c01, 15)
= 0x98355259c600daf0
A[18] = LeftRotation(A[18] , 21)
= LeftRotation(0x47d7fdc4a77d0ffe, 21)
= 0xb894efa1ffc8faff
A[19] = LeftRotation(A[19] , 8)
= LeftRotation(0xdcda27fbcb347c25, 8)
= 0xda27fbcb347c25dc
A[20] = LeftRotation(A[20] , 18)
= LeftRotation(0xa39260816207ed23, 18)
= 0x8205881fb48e8e49
A[21] = LeftRotation(A[21] , 2)
= LeftRotation(0x36ca5737da3a84b6, 2)
= 0xdb295cdf68ea12d8
A[22] = LeftRotation(A[22] , 61)
= LeftRotation(0x7d8e9e9760162683, 61)
= 0x6fb1d3d2ec02c4d0
A[23] = LeftRotation(A[23] , 56)
= LeftRotation(0xf5aa8a97f3c6a62a, 56)
= 0x2af5aa8a97f3c6a6



round 18: after rho
A[0] = 0x20e07722774e9069
A[1] = 0xc2642fa3f22341bf
A[2] = 0xc4955a09dc47f668
A[3] = 0x41af13380f4d7ba1
A[4] = 0x9a49458e71e6866b
A[5] = 0x69cb1048fb87242e
A[6] = 0x5e7c5c5ec353564f
A[7] = 0xdbe64b1cfa9e2f8f
A[8] = 0xf793e4749ae2cd3b
A[9] = 0x2dc73d3102b8252c
A[10] = 0x9f27148b06b25cd1
A[11] = 0x05d640134300b2e3
A[12] = 0x1ad4ee8c4d2decfe
A[13] = 0xe154a2bcc3e657d2
A[14] = 0x48bc99e0d57f9719
A[15] = 0x588a735dc60155da
A[16] = 0x5b0bb80682766bcc
A[17] = 0x98355259c600daf0
A[18] = 0xb894efa1ffc8faff
A[19] = 0xda27fbcb347c25dc
A[20] = 0x8205881fb48e8e49
A[21] = 0xdb295cdf68ea12d8
A[22] = 0x6fb1d3d2ec02c4d0
A[23] = 0x2af5aa8a97f3c6a6
A[24] = 0x39620301b3bdc5c0



round 18: pi
A1temp = A[1]
= 0xc2642fa3f22341bf
A[1] = A[6]
= 0x5e7c5c5ec353564f
A[6] = A[9]
= 0x2dc73d3102b8252c
A[9] = A[22]
= 0x6fb1d3d2ec02c4d0
A[22] = A[14]
= 0x48bc99e0d57f9719
A[14] = A[20]
= 0x8205881fb48e8e49
A[20] = A[2]
= 0xc4955a09dc47f668
A[2] = A[12]
= 0x1ad4ee8c4d2decfe
A[12] = A[13]
= 0xe154a2bcc3e657d2
A[13] = A[19]
= 0xda27fbcb347c25dc
A[19] = A[23]
= 0x2af5aa8a97f3c6a6
A[23] = A[15]
= 0x588a735dc60155da
A[15] = A[4]
= 0x9a49458e71e6866b
A[4] = A[24]
= 0x39620301b3bdc5c0
A[24] = A[21]
= 0xdb295cdf68ea12d8
A[21] = A[8]
= 0xf793e4749ae2cd3b
A[8] = A[16]
= 0x5b0bb80682766bcc
A[16] = A[5]
= 0x69cb1048fb87242e
A[5] = A[3]
= 0x41af13380f4d7ba1
A[3] = A[18]
= 0xb894efa1ffc8faff
A[18] = A[17]
= 0x98355259c600daf0
A[17] = A[11]
= 0x05d640134300b2e3
A[11] = A[7]
= 0xdbe64b1cfa9e2f8f
A[7] = A[10]
= 0x9f27148b06b25cd1
A[10] = A1temp
= 0xc2642fa3f22341bf



round 18: after pi
A[0] = 0x20e07722774e9069
A[1] = 0x5e7c5c5ec353564f
A[2] = 0x1ad4ee8c4d2decfe
A[3] = 0xb894efa1ffc8faff
A[4] = 0x39620301b3bdc5c0
A[5] = 0x41af13380f4d7ba1
A[6] = 0x2dc73d3102b8252c
A[7] = 0x9f27148b06b25cd1
A[8] = 0x5b0bb80682766bcc
A[9] = 0x6fb1d3d2ec02c4d0
A[10] = 0xc2642fa3f22341bf
A[11] = 0xdbe64b1cfa9e2f8f
A[12] = 0xe154a2bcc3e657d2
A[13] = 0xda27fbcb347c25dc
A[14] = 0x8205881fb48e8e49
A[15] = 0x9a49458e71e6866b
A[16] = 0x69cb1048fb87242e
A[17] = 0x05d640134300b2e3
A[18] = 0x98355259c600daf0
A[19] = 0x2af5aa8a97f3c6a6
A[20] = 0xc4955a09dc47f668
A[21] = 0xf793e4749ae2cd3b
A[22] = 0x48bc99e0d57f9719
A[23] = 0x588a735dc60155da
A[24] = 0xdb295cdf68ea12d8



round 18: chi
A0temp = A[0]
= 0x20e07722774e9069
A1temp = A[1]
= 0x5e7c5c5ec353564f
A[0] = A[0] ^ (~A1temp & A[2])
= 0x20e07722774e9069 ^ (~0x5e7c5c5ec353564f & 0x1ad4ee8c4d2decfe)
= 0x20e07722774e9069 ^ (0xa183a3a13caca9b0 & 0x1ad4ee8c4d2decfe)
= 0x20e07722774e9069 ^ 0x0080a2800c2ca8b0
= 0x2060d5a27b6238d9
A[1] = A[1] ^ (~A[2] & A[3])
= 0x5e7c5c5ec353564f ^ (~0x1ad4ee8c4d2decfe & 0xb894efa1ffc8faff)
= 0x5e7c5c5ec353564f ^ (0xe52b1173b2d21301 & 0xb894efa1ffc8faff)
= 0x5e7c5c5ec353564f ^ 0xa0000121b2c01201
= 0x5e7c5c5ec353564f
A[2] = A[2] ^ (~A[3] & A[4])
= 0x1ad4ee8c4d2decfe ^ (~0xb894efa1ffc8faff & 0x39620301b3bdc5c0)
= 0x1ad4ee8c4d2decfe ^ (0x476b105e00370500 & 0x39620301b3bdc5c0)
= 0x1ad4ee8c4d2decfe ^ 0x0162000000350500
= 0x1894ee804d08e8fe
A[3] = A[3] ^ (~A[4] & A0temp)
= 0xb894efa1ffc8faff ^ (~0x39620301b3bdc5c0 & 0x20e07722774e9069)
= 0xb894efa1ffc8faff ^ (0xc69dfcfe4c423a3f & 0x20e07722774e9069)
= 0xb894efa1ffc8faff ^ 0x0080742244421029
= 0xba00032db3c8d2c1
A[4] = A[4] ^ (~A0temp & A1temp)
= 0x39620301b3bdc5c0 ^ (~0x20e07722774e9069 & 0x5e7c5c5ec353564f)
= 0x39620301b3bdc5c0 ^ (0xdf1f88dd88b16f96 & 0x5e7c5c5ec353564f)
= 0x39620301b3bdc5c0 ^ 0x5e1c085c80114606
= 0x23768b8dbb9ca956
A5temp = A[5]
= 0x41af13380f4d7ba1
A6temp = A[6]
= 0x2dc73d3102b8252c
A[5] = A[5] ^ (~A6temp & A[7])
= 0x41af13380f4d7ba1 ^ (~0x2dc73d3102b8252c & 0x9f27148b06b25cd1)
= 0x41af13380f4d7ba1 ^ (0xd238c2cefd47dad3 & 0x9f27148b06b25cd1)
= 0x41af13380f4d7ba1 ^ 0x9220008a040258d1
= 0xd38f13b20b4f2370
A[6] = A[6] ^ (~A[7] & A[8])
= 0x2dc73d3102b8252c ^ (~0x9f27148b06b25cd1 & 0x5b0bb80682766bcc)
= 0x2dc73d3102b8252c ^ (0x60d8eb74f94da32e & 0x5b0bb80682766bcc)
= 0x2dc73d3102b8252c ^ 0x4008a8048044230c
= 0x2dc73d3102b8252c
A[7] = A[7] ^ (~A[8] & A[9])
= 0x9f27148b06b25cd1 ^ (~0x5b0bb80682766bcc & 0x6fb1d3d2ec02c4d0)
= 0x9f27148b06b25cd1 ^ (0xa4f447f97d899433 & 0x6fb1d3d2ec02c4d0)
= 0x9f27148b06b25cd1 ^ 0x24b043d06c008410
= 0x1b031002023248c0
A[8] = A[8] ^ (~A[9] & A5temp)
= 0x5b0bb80682766bcc ^ (~0x6fb1d3d2ec02c4d0 & 0x41af13380f4d7ba1)
= 0x5b0bb80682766bcc ^ (0x904e2c2d13fd3b2f & 0x41af13380f4d7ba1)
= 0x5b0bb80682766bcc ^ 0x000e0028034d3b21
= 0xcb0dbc0f80c673cd
A[9] = A[9] ^ (~A5temp & A6temp)
= 0x6fb1d3d2ec02c4d0 ^ (~0x41af13380f4d7ba1 & 0x2dc73d3102b8252c)
= 0x6fb1d3d2ec02c4d0 ^ (0xbe50ecc7f0b2845e & 0x2dc73d3102b8252c)
= 0x6fb1d3d2ec02c4d0 ^ 0x2c402c0100b0040c
= 0xf1b1d751ecb0c080
A10temp = A[10]
= 0xc2642fa3f22341bf
A11temp = A[11]
= 0xdbe64b1cfa9e2f8f
A[10] = A[10] ^ (~A11temp & A[12])
= 0xc2642fa3f22341bf ^ (~0xdbe64b1cfa9e2f8f & 0xe154a2bcc3e657d2)
= 0xc2642fa3f22341bf ^ (0x2419b4e30561d070 & 0xe154a2bcc3e657d2)
= 0xc2642fa3f22341bf ^ 0x2010a0a001605050
= 0xe2748f03f34311ef
A[11] = A[11] ^ (~A[12] & A[13])
= 0xdbe64b1cfa9e2f8f ^ (~0xe154a2bcc3e657d2 & 0xda27fbcb347c25dc)
= 0xdbe64b1cfa9e2f8f ^ (0x1eab5d433c19a82d & 0xda27fbcb347c25dc)
= 0xdbe64b1cfa9e2f8f ^ 0x1a2359433418200c
= 0xdbe64b1cfa9e2f8f
A[12] = A[12] ^ (~A[13] & A[14])
= 0xe154a2bcc3e657d2 ^ (~0xda27fbcb347c25dc & 0x8205881fb48e8e49)
= 0xe154a2bcc3e657d2 ^ (0x25d80434cb83da23 & 0x8205881fb48e8e49)
= 0xe154a2bcc3e657d2 ^ 0x0000001480828a01
= 0xc004a288006405d0
A[13] = A[13] ^ (~A[14] & A10temp)
= 0xda27fbcb347c25dc ^ (~0x8205881fb48e8e49 & 0xc2642fa3f22341bf)
= 0xda27fbcb347c25dc ^ (0x7dfa77e04b7171b6 & 0xc2642fa3f22341bf)
= 0xda27fbcb347c25dc ^ 0x406027a0422141b6
= 0xbb77d96b771c744e
A[14] = A[14] ^ (~A10temp & A11temp)
= 0x8205881fb48e8e49 ^ (~0xc2642fa3f22341bf & 0xdbe64b1cfa9e2f8f)
= 0x8205881fb48e8e49 ^ (0x3d9bd05c0ddcbe40 & 0xdbe64b1cfa9e2f8f)
= 0x8205881fb48e8e49 ^ 0x1982401c089c2e00
= 0xa3150803b54a9809
A15temp = A[15]
= 0x9a49458e71e6866b
A16temp = A[16]
= 0x69cb1048fb87242e
A[15] = A[15] ^ (~A16temp & A[17])
= 0x9a49458e71e6866b ^ (~0x69cb1048fb87242e & 0x05d640134300b2e3)
= 0x9a49458e71e6866b ^ (0x9634efb70478dbd1 & 0x05d640134300b2e3)
= 0x9a49458e71e6866b ^ 0x04144013000092c1
= 0x9e5d059d71e614aa
A[16] = A[16] ^ (~A[17] & A[18])
= 0x69cb1048fb87242e ^ (~0x05d640134300b2e3 & 0x98355259c600daf0)
= 0x69cb1048fb87242e ^ (0xfa29bfecbcff4d1c & 0x98355259c600daf0)
= 0x69cb1048fb87242e ^ 0x9821124884004810
= 0x69cb1048fb87242e
A[17] = A[17] ^ (~A[18] & A[19])
= 0x05d640134300b2e3 ^ (~0x98355259c600daf0 & 0x2af5aa8a97f3c6a6)
= 0x05d640134300b2e3 ^ (0x67caada639ff250f & 0x2af5aa8a97f3c6a6)
= 0x05d640134300b2e3 ^ 0x22c0a88211f30406
= 0x00144011420092e0
A[18] = A[18] ^ (~A[19] & A15temp)
= 0x98355259c600daf0 ^ (~0x2af5aa8a97f3c6a6 & 0x9a49458e71e6866b)
= 0x98355259c600daf0 ^ (0xd50a5575680c3959 & 0x9a49458e71e6866b)
= 0x98355259c600daf0 ^ 0x9008450460040049
= 0x9d3712488600eab1
A[19] = A[19] ^ (~A15temp & A16temp)
= 0x2af5aa8a97f3c6a6 ^ (~0x9a49458e71e6866b & 0x69cb1048fb87242e)
= 0x2af5aa8a97f3c6a6 ^ (0x65b6ba718e197994 & 0x69cb1048fb87242e)
= 0x2af5aa8a97f3c6a6 ^ 0x618210408a012004
= 0x2f63aa9b95f3f626
A20temp = A[20]
= 0xc4955a09dc47f668
A21temp = A[21]
= 0xf793e4749ae2cd3b
A[20] = A[20] ^ (~A21temp & A[22])
= 0xc4955a09dc47f668 ^ (~0xf793e4749ae2cd3b & 0x48bc99e0d57f9719)
= 0xc4955a09dc47f668 ^ (0x086c1b8b651d32c4 & 0x48bc99e0d57f9719)
= 0xc4955a09dc47f668 ^ 0x082c1980451d1200
= 0xccb94389995ae468
A[21] = A[21] ^ (~A[22] & A[23])
= 0xf793e4749ae2cd3b ^ (~0x48bc99e0d57f9719 & 0x588a735dc60155da)
= 0xf793e4749ae2cd3b ^ (0xb743661f2a8068e6 & 0x588a735dc60155da)
= 0xf793e4749ae2cd3b ^ 0x1002621d020040c2
= 0xf793e4749ae2cd3b
A[22] = A[22] ^ (~A[23] & A[24])
= 0x48bc99e0d57f9719 ^ (~0x588a735dc60155da & 0xdb295cdf68ea12d8)
= 0x48bc99e0d57f9719 ^ (0xa7758ca239feaa25 & 0xdb295cdf68ea12d8)
= 0x48bc99e0d57f9719 ^ 0x83210c8228ea0200
= 0x48881140c4011518
A[23] = A[23] ^ (~A[24] & A20temp)
= 0x588a735dc60155da ^ (~0xdb295cdf68ea12d8 & 0xc4955a09dc47f668)
= 0x588a735dc60155da ^ (0x24d6a3209715ed27 & 0xc4955a09dc47f668)
= 0x588a735dc60155da ^ 0x049402009405e420
= 0x581ef27d5314d0db
A[24] = A[24] ^ (~A20temp & A21temp)
= 0xdb295cdf68ea12d8 ^ (~0xc4955a09dc47f668 & 0xf793e4749ae2cd3b)
= 0xdb295cdf68ea12d8 ^ (0x3b6aa5f623b80997 & 0xf793e4749ae2cd3b)
= 0xdb295cdf68ea12d8 ^ 0x3302a47402a00913
= 0xd301dd3f69d213c9



round 18: after chi
A[0] = 0x2060d5a27b6238d9
A[1] = 0xfe7c5d7f7193444e
A[2] = 0x1bb6ee8c4d18e9fe
A[3] = 0xb8149b83bb8aead6
A[4] = 0x677e0b5d33ac83c6
A[5] = 0xd38f13b20b4f2370
A[6] = 0x6dcf953582fc0620
A[7] = 0xbb97575b6ab2d8c1
A[8] = 0x5b05b82e813b50ed
A[9] = 0x43f1ffd3ecb2c0dc
A[10] = 0xe2748f03f34311ef
A[11] = 0xc1c5125fce860f83
A[12] = 0xe154a2a84364ddd3
A[13] = 0x9a47dc6b765d646a
A[14] = 0x9b87c803bc12a049
A[15] = 0x9e5d059d71e614aa
A[16] = 0xf1ea02007f876c3e
A[17] = 0x2716e89152f3b6e5
A[18] = 0x083d175da604dab9
A[19] = 0x4b77baca1df2e6a2
A[20] = 0xccb94389995ae468
A[21] = 0xe791866998e28df9
A[22] = 0xcb9d9562fd959519
A[23] = 0x5c1e715d5204b1fa
A[24] = 0xe82bf8ab6a4a1bcb



round 18: iota
A[0] = A[0] ^ rc[18]
= 0x2060d5a27b6238d9 ^ 0x000000000000800a
= 0x2060d5a27b62b8d3



round 18: after iota
A[0] = 0x2060d5a27b62b8d3
A[1] = 0xfe7c5d7f7193444e
A[2] = 0x1bb6ee8c4d18e9fe
A[3] = 0xb8149b83bb8aead6
A[4] = 0x677e0b5d33ac83c6
A[5] = 0xd38f13b20b4f2370
A[6] = 0x6dcf953582fc0620
A[7] = 0xbb97575b6ab2d8c1
A[8] = 0x5b05b82e813b50ed
A[9] = 0x43f1ffd3ecb2c0dc
A[10] = 0xe2748f03f34311ef
A[11] = 0xc1c5125fce860f83
A[12] = 0xe154a2a84364ddd3
A[13] = 0x9a47dc6b765d646a
A[14] = 0x9b87c803bc12a049
A[15] = 0x9e5d059d71e614aa
A[16] = 0xf1ea02007f876c3e
A[17] = 0x2716e89152f3b6e5
A[18] = 0x083d175da604dab9
A[19] = 0x4b77baca1df2e6a2
A[20] = 0xccb94389995ae468
A[21] = 0xe791866998e28df9
A[22] = 0xcb9d9562fd959519
A[23] = 0x5c1e715d5204b1fa
A[24] = 0xe82bf8ab6a4a1bcb