round 1
theta rho pi chi iota




round 1: before theta
A[0] = 0x0000080000000007
A[1] = 0x0000600000000000
A[2] = 0x0000080000032000
A[3] = 0x0000000000000006
A[4] = 0x0000600000032000
A[5] = 0x0000000000000000
A[6] = 0x0000c00000c80000
A[7] = 0x2000000000000000
A[8] = 0x0000c00000000000
A[9] = 0x2000000000c80000
A[10] = 0x000000000000000c
A[11] = 0x0000000000000cc0
A[12] = 0x0000000000000000
A[13] = 0x0000000000000c8c
A[14] = 0x0000000000000040
A[15] = 0x0000000064001800
A[16] = 0x0000000000008000
A[17] = 0x0000000000001800
A[18] = 0x0000000064008000
A[19] = 0x0000000000000000
A[20] = 0x4000064000000000
A[21] = 0x0040000000000000
A[22] = 0x0000064000000018
A[23] = 0x4000000000000000
A[24] = 0x0040000000000018



round 1: theta
C[0] = A[0] ^ A[5] ^ A[10] ^ A[15] ^ A[20]
= 0x0000080000000007 ^ 0x0000000000000000 ^ 0x000000000000000c ^ 0x0000000064001800 ^ 0x4000064000000000
= 0x40000e406400180b
C[1] = A[1] ^ A[6] ^ A[11] ^ A[16] ^ A[21]
= 0x0000600000000000 ^ 0x0000c00000c80000 ^ 0x0000000000000cc0 ^ 0x0000000000008000 ^ 0x0040000000000000
= 0x0040a00000c88cc0
C[2] = A[2] ^ A[7] ^ A[12] ^ A[17] ^ A[22]
= 0x0000080000032000 ^ 0x2000000000000000 ^ 0x0000000000000000 ^ 0x0000000000001800 ^ 0x0000064000000018
= 0x20000e4000033818
C[3] = A[3] ^ A[8] ^ A[13] ^ A[18] ^ A[23]
= 0x0000000000000006 ^ 0x0000c00000000000 ^ 0x0000000000000c8c ^ 0x0000000064008000 ^ 0x4000000000000000
= 0x4000c00064008c8a
C[4] = A[4] ^ A[9] ^ A[14] ^ A[19] ^ A[24]
= 0x0000600000032000 ^ 0x2000000000c80000 ^ 0x0000000000000040 ^ 0x0000000000000000 ^ 0x0040000000000018
= 0x2040600000cb2058
D[0] = LeftRotation(C[1], 1) ^ C[4]
= LeftRotation(0x0040a00000c88cc0, 1) ^ 0x2040600000cb2058
= 0x0081400001911980 ^ 0x2040600000cb2058
= 0x20c12000015a39d8
D[1] = LeftRotation(C[2], 1) ^ C[0]
= LeftRotation(0x20000e4000033818, 1) ^ 0x40000e406400180b
= 0x40001c8000067030 ^ 0x40000e406400180b
= 0x000012c06406683b
D[2] = LeftRotation(C[3], 1) ^ C[1]
= LeftRotation(0x4000c00064008c8a, 1) ^ 0x0040a00000c88cc0
= 0x80018000c8011914 ^ 0x0040a00000c88cc0
= 0x80412000c8c995d4
D[3] = LeftRotation(C[4], 1) ^ C[2]
= LeftRotation(0x2040600000cb2058, 1) ^ 0x20000e4000033818
= 0x4080c000019640b0 ^ 0x20000e4000033818
= 0x6080ce40019578a8
D[4] = LeftRotation(C[0], 1) ^ C[3]
= LeftRotation(0x40000e406400180b, 1) ^ 0x4000c00064008c8a
= 0x80001c80c8003016 ^ 0x4000c00064008c8a
= 0xc000dc80ac00bc9c
A[0] = A[0] ^ D[0]
= 0x0000080000000007 ^ 0x20c12000015a39d8
= 0x20c12800015a39df
A[5] = A[5] ^ D[0]
= 0x0000000000000000 ^ 0x20c12000015a39d8
= 0x20c12000015a39d8
A[10] = A[10] ^ D[0]
= 0x000000000000000c ^ 0x20c12000015a39d8
= 0x20c12000015a39d4
A[15] = A[15] ^ D[0]
= 0x0000000064001800 ^ 0x20c12000015a39d8
= 0x20c12000655a21d8
A[20] = A[20] ^ D[0]
= 0x4000064000000000 ^ 0x20c12000015a39d8
= 0x60c12640015a39d8
A[1] = A[1] ^ D[1]
= 0x0000600000000000 ^ 0x000012c06406683b
= 0x000072c06406683b
A[6] = A[6] ^ D[1]
= 0x0000c00000c80000 ^ 0x000012c06406683b
= 0x0000d2c064ce683b
A[11] = A[11] ^ D[1]
= 0x0000000000000cc0 ^ 0x000012c06406683b
= 0x000012c0640664fb
A[16] = A[16] ^ D[1]
= 0x0000000000008000 ^ 0x000012c06406683b
= 0x000012c06406e83b
A[21] = A[21] ^ D[1]
= 0x0040000000000000 ^ 0x000012c06406683b
= 0x004012c06406683b
A[2] = A[2] ^ D[2]
= 0x0000080000032000 ^ 0x80412000c8c995d4
= 0x80412800c8cab5d4
A[7] = A[7] ^ D[2]
= 0x2000000000000000 ^ 0x80412000c8c995d4
= 0xa0412000c8c995d4
A[12] = A[12] ^ D[2]
= 0x0000000000000000 ^ 0x80412000c8c995d4
= 0x80412000c8c995d4
A[17] = A[17] ^ D[2]
= 0x0000000000001800 ^ 0x80412000c8c995d4
= 0x80412000c8c98dd4
A[22] = A[22] ^ D[2]
= 0x0000064000000018 ^ 0x80412000c8c995d4
= 0x80412640c8c995cc
A[3] = A[3] ^ D[3]
= 0x0000000000000006 ^ 0x6080ce40019578a8
= 0x6080ce40019578ae
A[8] = A[8] ^ D[3]
= 0x0000c00000000000 ^ 0x6080ce40019578a8
= 0x60800e40019578a8
A[13] = A[13] ^ D[3]
= 0x0000000000000c8c ^ 0x6080ce40019578a8
= 0x6080ce4001957424
A[18] = A[18] ^ D[3]
= 0x0000000064008000 ^ 0x6080ce40019578a8
= 0x6080ce406595f8a8
A[23] = A[23] ^ D[3]
= 0x4000000000000000 ^ 0x6080ce40019578a8
= 0x2080ce40019578a8
A[4] = A[4] ^ D[4]
= 0x0000600000032000 ^ 0xc000dc80ac00bc9c
= 0xc000bc80ac039c9c
A[9] = A[9] ^ D[4]
= 0x2000000000c80000 ^ 0xc000dc80ac00bc9c
= 0xe000dc80acc8bc9c
A[14] = A[14] ^ D[4]
= 0x0000000000000040 ^ 0xc000dc80ac00bc9c
= 0xc000dc80ac00bcdc
A[19] = A[19] ^ D[4]
= 0x0000000000000000 ^ 0xc000dc80ac00bc9c
= 0xc000dc80ac00bc9c
A[24] = A[24] ^ D[4]
= 0x0040000000000018 ^ 0xc000dc80ac00bc9c
= 0xc040dc80ac00bc84



round 1: after theta
A[0] = 0x20c12800015a39df
A[1] = 0x000072c06406683b
A[2] = 0x80412800c8cab5d4
A[3] = 0x6080ce40019578ae
A[4] = 0xc000bc80ac039c9c
A[5] = 0x20c12000015a39d8
A[6] = 0x0000d2c064ce683b
A[7] = 0xa0412000c8c995d4
A[8] = 0x60800e40019578a8
A[9] = 0xe000dc80acc8bc9c
A[10] = 0x20c12000015a39d4
A[11] = 0x000012c0640664fb
A[12] = 0x80412000c8c995d4
A[13] = 0x6080ce4001957424
A[14] = 0xc000dc80ac00bcdc
A[15] = 0x20c12000655a21d8
A[16] = 0x000012c06406e83b
A[17] = 0x80412000c8c98dd4
A[18] = 0x6080ce406595f8a8
A[19] = 0xc000dc80ac00bc9c
A[20] = 0x60c12640015a39d8
A[21] = 0x004012c06406683b
A[22] = 0x80412640c8c995cc
A[23] = 0x2080ce40019578a8
A[24] = 0xc040dc80ac00bc84



round 1: rho
A[0] = LeftRotation(A[0] , 0)
= LeftRotation(0x20c12800015a39df, 0)
= 0x20c12800015a39df
A[1] = LeftRotation(A[1] , 1)
= LeftRotation(0x000072c06406683b, 1)
= 0x0000e580c80cd076
A[2] = LeftRotation(A[2] , 62)
= LeftRotation(0x80412800c8cab5d4, 62)
= 0x20104a003232ad75
A[3] = LeftRotation(A[3] , 28)
= LeftRotation(0x6080ce40019578ae, 28)
= 0x0019578ae6080ce4
A[4] = LeftRotation(A[4] , 27)
= LeftRotation(0xc000bc80ac039c9c, 27)
= 0x05601ce4e60005e4
A[5] = LeftRotation(A[5] , 36)
= LeftRotation(0x20c12000015a39d8, 36)
= 0x15a39d820c120000
A[6] = LeftRotation(A[6] , 44)
= LeftRotation(0x0000d2c064ce683b, 44)
= 0xe683b0000d2c064c
A[7] = LeftRotation(A[7] , 6)
= LeftRotation(0xa0412000c8c995d4, 6)
= 0x1048003232657528
A[8] = LeftRotation(A[8] , 55)
= LeftRotation(0x60800e40019578a8, 55)
= 0x543040072000cabc
A[9] = LeftRotation(A[9] , 20)
= LeftRotation(0xe000dc80acc8bc9c, 20)
= 0xc80acc8bc9ce000d
A[10] = LeftRotation(A[10] , 3)
= LeftRotation(0x20c12000015a39d4, 3)
= 0x060900000ad1cea1
A[11] = LeftRotation(A[11] , 10)
= LeftRotation(0x000012c0640664fb, 10)
= 0x004b01901993ec00
A[12] = LeftRotation(A[12] , 43)
= LeftRotation(0x80412000c8c995d4, 43)
= 0x4caea40209000646
A[13] = LeftRotation(A[13] , 25)
= LeftRotation(0x6080ce4001957424, 25)
= 0x80032ae848c1019c
A[14] = LeftRotation(A[14] , 39)
= LeftRotation(0xc000dc80ac00bcdc, 39)
= 0x005e6e60006e4056
A[15] = LeftRotation(A[15] , 41)
= LeftRotation(0x20c12000655a21d8, 41)
= 0xb443b041824000ca
A[16] = LeftRotation(A[16] , 45)
= LeftRotation(0x000012c06406e83b, 45)
= 0xdd07600002580c80
A[17] = LeftRotation(A[17] , 15)
= LeftRotation(0x80412000c8c98dd4, 15)
= 0x90006464c6ea4020
A[18] = LeftRotation(A[18] , 21)
= LeftRotation(0x6080ce406595f8a8, 21)
= 0xc80cb2bf150c1019
A[19] = LeftRotation(A[19] , 8)
= LeftRotation(0xc000dc80ac00bc9c, 8)
= 0x00dc80ac00bc9cc0
A[20] = LeftRotation(A[20] , 18)
= LeftRotation(0x60c12640015a39d8, 18)
= 0x99000568e7618304
A[21] = LeftRotation(A[21] , 2)
= LeftRotation(0x004012c06406683b, 2)
= 0x01004b019019a0ec
A[22] = LeftRotation(A[22] , 61)
= LeftRotation(0x80412640c8c995cc, 61)
= 0x900824c8191932b9
A[23] = LeftRotation(A[23] , 56)
= LeftRotation(0x2080ce40019578a8, 56)
= 0xa82080ce40019578



round 1: after rho
A[0] = 0x20c12800015a39df
A[1] = 0x0000e580c80cd076
A[2] = 0x20104a003232ad75
A[3] = 0x0019578ae6080ce4
A[4] = 0x05601ce4e60005e4
A[5] = 0x15a39d820c120000
A[6] = 0xe683b0000d2c064c
A[7] = 0x1048003232657528
A[8] = 0x543040072000cabc
A[9] = 0xc80acc8bc9ce000d
A[10] = 0x060900000ad1cea1
A[11] = 0x004b01901993ec00
A[12] = 0x4caea40209000646
A[13] = 0x80032ae848c1019c
A[14] = 0x005e6e60006e4056
A[15] = 0xb443b041824000ca
A[16] = 0xdd07600002580c80
A[17] = 0x90006464c6ea4020
A[18] = 0xc80cb2bf150c1019
A[19] = 0x00dc80ac00bc9cc0
A[20] = 0x99000568e7618304
A[21] = 0x01004b019019a0ec
A[22] = 0x900824c8191932b9
A[23] = 0xa82080ce40019578
A[24] = 0x37202b002f213010



round 1: pi
A1temp = A[1]
= 0x0000e580c80cd076
A[1] = A[6]
= 0xe683b0000d2c064c
A[6] = A[9]
= 0xc80acc8bc9ce000d
A[9] = A[22]
= 0x900824c8191932b9
A[22] = A[14]
= 0x005e6e60006e4056
A[14] = A[20]
= 0x99000568e7618304
A[20] = A[2]
= 0x20104a003232ad75
A[2] = A[12]
= 0x4caea40209000646
A[12] = A[13]
= 0x80032ae848c1019c
A[13] = A[19]
= 0x00dc80ac00bc9cc0
A[19] = A[23]
= 0xa82080ce40019578
A[23] = A[15]
= 0xb443b041824000ca
A[15] = A[4]
= 0x05601ce4e60005e4
A[4] = A[24]
= 0x37202b002f213010
A[24] = A[21]
= 0x01004b019019a0ec
A[21] = A[8]
= 0x543040072000cabc
A[8] = A[16]
= 0xdd07600002580c80
A[16] = A[5]
= 0x15a39d820c120000
A[5] = A[3]
= 0x0019578ae6080ce4
A[3] = A[18]
= 0xc80cb2bf150c1019
A[18] = A[17]
= 0x90006464c6ea4020
A[17] = A[11]
= 0x004b01901993ec00
A[11] = A[7]
= 0x1048003232657528
A[7] = A[10]
= 0x060900000ad1cea1
A[10] = A1temp
= 0x0000e580c80cd076



round 1: after pi
A[0] = 0x20c12800015a39df
A[1] = 0xe683b0000d2c064c
A[2] = 0x4caea40209000646
A[3] = 0xc80cb2bf150c1019
A[4] = 0x37202b002f213010
A[5] = 0x0019578ae6080ce4
A[6] = 0xc80acc8bc9ce000d
A[7] = 0x060900000ad1cea1
A[8] = 0xdd07600002580c80
A[9] = 0x900824c8191932b9
A[10] = 0x0000e580c80cd076
A[11] = 0x1048003232657528
A[12] = 0x80032ae848c1019c
A[13] = 0x00dc80ac00bc9cc0
A[14] = 0x99000568e7618304
A[15] = 0x05601ce4e60005e4
A[16] = 0x15a39d820c120000
A[17] = 0x004b01901993ec00
A[18] = 0x90006464c6ea4020
A[19] = 0xa82080ce40019578
A[20] = 0x20104a003232ad75
A[21] = 0x543040072000cabc
A[22] = 0x005e6e60006e4056
A[23] = 0xb443b041824000ca
A[24] = 0x01004b019019a0ec



round 1: chi
A0temp = A[0]
= 0x20c12800015a39df
A1temp = A[1]
= 0xe683b0000d2c064c
A[0] = A[0] ^ (~A1temp & A[2])
= 0x20c12800015a39df ^ (~0xe683b0000d2c064c & 0x4caea40209000646)
= 0x20c12800015a39df ^ (0x197c4ffff2d3f9b3 & 0x4caea40209000646)
= 0x20c12800015a39df ^ 0x082c040200000002
= 0x28ed2c02015a39dd
A[1] = A[1] ^ (~A[2] & A[3])
= 0xe683b0000d2c064c ^ (~0x4caea40209000646 & 0xc80cb2bf150c1019)
= 0xe683b0000d2c064c ^ (0xb3515bfdf6fff9b9 & 0xc80cb2bf150c1019)
= 0xe683b0000d2c064c ^ 0x800012bd140c1019
= 0xe683b0000d2c064c
A[2] = A[2] ^ (~A[3] & A[4])
= 0x4caea40209000646 ^ (~0xc80cb2bf150c1019 & 0x37202b002f213010)
= 0x4caea40209000646 ^ (0x37f34d40eaf3efe6 & 0x37202b002f213010)
= 0x4caea40209000646 ^ 0x372009002a212000
= 0x480ca00201000000
A[3] = A[3] ^ (~A[4] & A0temp)
= 0xc80cb2bf150c1019 ^ (~0x37202b002f213010 & 0x20c12800015a39df)
= 0xc80cb2bf150c1019 ^ (0xc8dfd4ffd0decfef & 0x20c12800015a39df)
= 0xc80cb2bf150c1019 ^ 0x00c10000005a09cf
= 0x808236bd150c165f
A[4] = A[4] ^ (~A0temp & A1temp)
= 0x37202b002f213010 ^ (~0x20c12800015a39df & 0xe683b0000d2c064c)
= 0x37202b002f213010 ^ (0xdf3ed7fffea5c620 & 0xe683b0000d2c064c)
= 0x37202b002f213010 ^ 0xc60290000c240600
= 0x7b0eaf0227213610
A5temp = A[5]
= 0x0019578ae6080ce4
A6temp = A[6]
= 0xc80acc8bc9ce000d
A[5] = A[5] ^ (~A6temp & A[7])
= 0x0019578ae6080ce4 ^ (~0xc80acc8bc9ce000d & 0x060900000ad1cea1)
= 0x0019578ae6080ce4 ^ (0x37f533743631fff2 & 0x060900000ad1cea1)
= 0x0019578ae6080ce4 ^ 0x060100000211cea0
= 0x0618578ae419c244
A[6] = A[6] ^ (~A[7] & A[8])
= 0xc80acc8bc9ce000d ^ (~0x060900000ad1cea1 & 0xdd07600002580c80)
= 0xc80acc8bc9ce000d ^ (0xf9f6fffff52e315e & 0xdd07600002580c80)
= 0xc80acc8bc9ce000d ^ 0xd906600000080000
= 0xc80acc8bc9ce000d
A[7] = A[7] ^ (~A[8] & A[9])
= 0x060900000ad1cea1 ^ (~0xdd07600002580c80 & 0x900824c8191932b9)
= 0x060900000ad1cea1 ^ (0x22f89ffffda7f37f & 0x900824c8191932b9)
= 0x060900000ad1cea1 ^ 0x000804c819013239
= 0x0401000002500c80
A[8] = A[8] ^ (~A[9] & A5temp)
= 0xdd07600002580c80 ^ (~0x900824c8191932b9 & 0x0019578ae6080ce4)
= 0xdd07600002580c80 ^ (0x6ff7db37e6e6cd46 & 0x0019578ae6080ce4)
= 0xdd07600002580c80 ^ 0x00115302e6000c44
= 0xdb0660000098c080
A[9] = A[9] ^ (~A5temp & A6temp)
= 0x900824c8191932b9 ^ (~0x0019578ae6080ce4 & 0xc80acc8bc9ce000d)
= 0x900824c8191932b9 ^ (0xffe6a87519f7f31b & 0xc80acc8bc9ce000d)
= 0x900824c8191932b9 ^ 0xc802880109c60009
= 0x960824c811c8f0b8
A10temp = A[10]
= 0x0000e580c80cd076
A11temp = A[11]
= 0x1048003232657528
A[10] = A[10] ^ (~A11temp & A[12])
= 0x0000e580c80cd076 ^ (~0x1048003232657528 & 0x80032ae848c1019c)
= 0x0000e580c80cd076 ^ (0xefb7ffcdcd9a8ad7 & 0x80032ae848c1019c)
= 0x0000e580c80cd076 ^ 0x80032ac848800094
= 0x8003cf48808cd0e2
A[11] = A[11] ^ (~A[12] & A[13])
= 0x1048003232657528 ^ (~0x80032ae848c1019c & 0x00dc80ac00bc9cc0)
= 0x1048003232657528 ^ (0x7ffcd517b73efe63 & 0x00dc80ac00bc9cc0)
= 0x1048003232657528 ^ 0x00dc8004003c9c40
= 0x1048003232657528
A[12] = A[12] ^ (~A[13] & A[14])
= 0x80032ae848c1019c ^ (~0x00dc80ac00bc9cc0 & 0x99000568e7618304)
= 0x80032ae848c1019c ^ (0xff237f53ff43633f & 0x99000568e7618304)
= 0x80032ae848c1019c ^ 0x99000540e7410304
= 0x000000a800800080
A[13] = A[13] ^ (~A[14] & A10temp)
= 0x00dc80ac00bc9cc0 ^ (~0x99000568e7618304 & 0x0000e580c80cd076)
= 0x00dc80ac00bc9cc0 ^ (0x66fffa97189e7cfb & 0x0000e580c80cd076)
= 0x00dc80ac00bc9cc0 ^ 0x0000e080080c5072
= 0x00dfaa2c083c9c58
A[14] = A[14] ^ (~A10temp & A11temp)
= 0x99000568e7618304 ^ (~0x0000e580c80cd076 & 0x1048003232657528)
= 0x99000568e7618304 ^ (0xffff1a7f37f32f89 & 0x1048003232657528)
= 0x99000568e7618304 ^ 0x1048003232612508
= 0x19030f00e7a0828c
A15temp = A[15]
= 0x05601ce4e60005e4
A16temp = A[16]
= 0x15a39d820c120000
A[15] = A[15] ^ (~A16temp & A[17])
= 0x05601ce4e60005e4 ^ (~0x15a39d820c120000 & 0x004b01901993ec00)
= 0x05601ce4e60005e4 ^ (0xea5c627df3edffff & 0x004b01901993ec00)
= 0x05601ce4e60005e4 ^ 0x004800101181ec00
= 0x05281cf4f781e9e4
A[16] = A[16] ^ (~A[17] & A[18])
= 0x15a39d820c120000 ^ (~0x004b01901993ec00 & 0x90006464c6ea4020)
= 0x15a39d820c120000 ^ (0xffb4fe6fe66c13ff & 0x90006464c6ea4020)
= 0x15a39d820c120000 ^ 0x90006464c6680020
= 0x15a39d820c120000
A[17] = A[17] ^ (~A[18] & A[19])
= 0x004b01901993ec00 ^ (~0x90006464c6ea4020 & 0xa82080ce40019578)
= 0x004b01901993ec00 ^ (0x6fff9b9b3915bfdf & 0xa82080ce40019578)
= 0x004b01901993ec00 ^ 0x2820808a00019558
= 0x0000000000824000
A[18] = A[18] ^ (~A[19] & A15temp)
= 0x90006464c6ea4020 ^ (~0xa82080ce40019578 & 0x05601ce4e60005e4)
= 0x90006464c6ea4020 ^ (0x57df7f31bffe6a87 & 0x05601ce4e60005e4)
= 0x90006464c6ea4020 ^ 0x05401c20a6000084
= 0x904b6574df782820
A[19] = A[19] ^ (~A15temp & A16temp)
= 0xa82080ce40019578 ^ (~0x05601ce4e60005e4 & 0x15a39d820c120000)
= 0xa82080ce40019578 ^ (0xfa9fe31b19fffa1b & 0x15a39d820c120000)
= 0xa82080ce40019578 ^ 0x1083810208120000
= 0xa82b81de59927d78
A20temp = A[20]
= 0x20104a003232ad75
A21temp = A[21]
= 0x543040072000cabc
A[20] = A[20] ^ (~A21temp & A[22])
= 0x20104a003232ad75 ^ (~0x543040072000cabc & 0x005e6e60006e4056)
= 0x20104a003232ad75 ^ (0xabcfbff8dfff3543 & 0x005e6e60006e4056)
= 0x20104a003232ad75 ^ 0x004e2e60006e0042
= 0x205e6460325cad37
A[21] = A[21] ^ (~A[22] & A[23])
= 0x543040072000cabc ^ (~0x005e6e60006e4056 & 0xb443b041824000ca)
= 0x543040072000cabc ^ (0xffa1919fff91bfa9 & 0xb443b041824000ca)
= 0x543040072000cabc ^ 0xb401900182000088
= 0x543040072000cabc
A[22] = A[22] ^ (~A[23] & A[24])
= 0x005e6e60006e4056 ^ (~0xb443b041824000ca & 0x01004b019019a0ec)
= 0x005e6e60006e4056 ^ (0x4bbc4fbe7dbfff35 & 0x01004b019019a0ec)
= 0x005e6e60006e4056 ^ 0x01004b001019a024
= 0x0042204000400042
A[23] = A[23] ^ (~A[24] & A20temp)
= 0xb443b041824000ca ^ (~0x01004b019019a0ec & 0x20104a003232ad75)
= 0xb443b041824000ca ^ (0xfeffb4fe6fe65f13 & 0x20104a003232ad75)
= 0xb443b041824000ca ^ 0x2010000022220d11
= 0xb41d9421822640d8
A[24] = A[24] ^ (~A20temp & A21temp)
= 0x01004b019019a0ec ^ (~0x20104a003232ad75 & 0x543040072000cabc)
= 0x01004b019019a0ec ^ (0xdfefb5ffcdcd528a & 0x543040072000cabc)
= 0x01004b019019a0ec ^ 0x5420000700004288
= 0x014e6f619055e0ee



round 1: after chi
A[0] = 0x28ed2c02015a39dd
A[1] = 0x6683a2bd19201655
A[2] = 0x7b8ead0223212646
A[3] = 0xc8cdb2bf155619d6
A[4] = 0xf122bb0023053610
A[5] = 0x0618578ae419c244
A[6] = 0x110cac8bc9c6000d
A[7] = 0x060104c813d0fc98
A[8] = 0xdd163302e45800c4
A[9] = 0x580aacc910df32b0
A[10] = 0x8003cf48808cd0e2
A[11] = 0x109480363259e968
A[12] = 0x19032fa8af800298
A[13] = 0x00dc602c08b0ccb2
A[14] = 0x8948055ad500a60c
A[15] = 0x05281cf4f781e9e4
A[16] = 0x85a3f9e6ca7a0020
A[17] = 0x286b811a19927958
A[18] = 0x9540784460ea40a4
A[19] = 0xb8a301cc48139578
A[20] = 0x205e6460325cad37
A[21] = 0xe031d006a200ca34
A[22] = 0x015e25601077e072
A[23] = 0x9453b041a0620ddb
A[24] = 0x55204b069019e264



round 1: iota
A[0] = A[0] ^ rc[1]
= 0x28ed2c02015a39dd ^ 0x0000000000008082
= 0x28ed2c02015ab95f



round 1: after iota
A[0] = 0x28ed2c02015ab95f
A[1] = 0x6683a2bd19201655
A[2] = 0x7b8ead0223212646
A[3] = 0xc8cdb2bf155619d6
A[4] = 0xf122bb0023053610
A[5] = 0x0618578ae419c244
A[6] = 0x110cac8bc9c6000d
A[7] = 0x060104c813d0fc98
A[8] = 0xdd163302e45800c4
A[9] = 0x580aacc910df32b0
A[10] = 0x8003cf48808cd0e2
A[11] = 0x109480363259e968
A[12] = 0x19032fa8af800298
A[13] = 0x00dc602c08b0ccb2
A[14] = 0x8948055ad500a60c
A[15] = 0x05281cf4f781e9e4
A[16] = 0x85a3f9e6ca7a0020
A[17] = 0x286b811a19927958
A[18] = 0x9540784460ea40a4
A[19] = 0xb8a301cc48139578
A[20] = 0x205e6460325cad37
A[21] = 0xe031d006a200ca34
A[22] = 0x015e25601077e072
A[23] = 0x9453b041a0620ddb
A[24] = 0x55204b069019e264