Chax Plore
2024-02-26 15:32:26 UTC
Hello everyone,
I recommend to your attention this cipher: MARC.
This is another attempt to make RC4-like cipher, but without weaknesses.
"MARC: modified ARC4", Jianliang Zheng, Jie Li.
Conference: Proceedings of the 5th international conference on
Foundations and Practice of Security.
DOI:10.1007/978-3-642-37119-6_3
I also want to confirm my test vectors of MARC, which I calculated using
my own implementation - I will be grateful if someone checks my vectors
(the paper provided no vectors):
Key: 0123456789abcdef
Output:
BC53AC89 A1089065 F84DF6BD 516E03E8 E9EEF975 FBC9DF22 85FD2E60 4F614CF0
295F4D9F 414898F9 2BBF3B1C 556C6324 B4F92008 9C3CE19B FDA0CDA1 B0517EFB
0BE1409E 2722EF46 D087933C 9EF6C8E3 FBA9993A 5D4485AF 85425AA1 6D0879A3
D0BD42F3 2D461198 3E9FE061 9C1449FC 2E988CC5 C07852BE 96EB2D4B 9D817046
Key: 0123456789abcdeffedcba9876543210
Output:
0855EA59 C1163612 8D42E3F9 C451F325 249AA1E3 578C9CDF DE25BFAF 2720F3AF
CCA79DDE 86D63151 6536E2FE BB12C542 F7F83BAC 32DF4558 5FCB5D02 21CE901A
648D9E70 9EB8018A 0D861839 80F5402D 3051DF13 DD9829A2 1B1E27B2 76636B21
66EF842C 20624046 6E3C81C6 878C1ACD B797F70A 6AA989AE 78DE85F4 28071799
Key: 00000000000000000000000000000000
Output:
029AA08D 74643F19 7E7D3AC5 4CD142AF 1567755F A8AA13D3 87E0DFE0 FC9A6DEE
F56D657A B1F84CD8 E95DD274 4E0D8E04 F9F5CB25 8A3F237F A5C54A8C 1612E298
B6A34320 49D6EBDB 2066B095 D89E9E00 2A8C87E6 2D612582 409BBC23 01006E0B
3B0FAB39 869623C1 25A35293 AD05BF07 1AC69598 0797FCC3 BB056DF2 B4C9F44E
Key: 7438b9ca16be14b950b3978c7f3e540351da8a4a6e930cd3ece7f08dc2ec1ba2 {
= SHA256('MARC') }
Output:
BCD29139 57D3E0D9 6D473183 64ED0C47 8BA1AC44 2A361B1C 453B03A7 CE0F1987
288D01E7 6623A67E 99FE90EF 2C1A24DA EC6C5421 A1133710 4A2D10AE BB33A931
5DB0BB8A 02FC63CB 2978CB9D 43412D9A F889D26B B0A90857 4A6F27F6 1584CE91
208159BE 6CDBFF4E 8B302057 540DDFA6 A7307BB5 45DA87AF 923F2DFE 6D5A5C4B
Regards,
Chax Plore
I recommend to your attention this cipher: MARC.
This is another attempt to make RC4-like cipher, but without weaknesses.
"MARC: modified ARC4", Jianliang Zheng, Jie Li.
Conference: Proceedings of the 5th international conference on
Foundations and Practice of Security.
DOI:10.1007/978-3-642-37119-6_3
I also want to confirm my test vectors of MARC, which I calculated using
my own implementation - I will be grateful if someone checks my vectors
(the paper provided no vectors):
Key: 0123456789abcdef
Output:
BC53AC89 A1089065 F84DF6BD 516E03E8 E9EEF975 FBC9DF22 85FD2E60 4F614CF0
295F4D9F 414898F9 2BBF3B1C 556C6324 B4F92008 9C3CE19B FDA0CDA1 B0517EFB
0BE1409E 2722EF46 D087933C 9EF6C8E3 FBA9993A 5D4485AF 85425AA1 6D0879A3
D0BD42F3 2D461198 3E9FE061 9C1449FC 2E988CC5 C07852BE 96EB2D4B 9D817046
Key: 0123456789abcdeffedcba9876543210
Output:
0855EA59 C1163612 8D42E3F9 C451F325 249AA1E3 578C9CDF DE25BFAF 2720F3AF
CCA79DDE 86D63151 6536E2FE BB12C542 F7F83BAC 32DF4558 5FCB5D02 21CE901A
648D9E70 9EB8018A 0D861839 80F5402D 3051DF13 DD9829A2 1B1E27B2 76636B21
66EF842C 20624046 6E3C81C6 878C1ACD B797F70A 6AA989AE 78DE85F4 28071799
Key: 00000000000000000000000000000000
Output:
029AA08D 74643F19 7E7D3AC5 4CD142AF 1567755F A8AA13D3 87E0DFE0 FC9A6DEE
F56D657A B1F84CD8 E95DD274 4E0D8E04 F9F5CB25 8A3F237F A5C54A8C 1612E298
B6A34320 49D6EBDB 2066B095 D89E9E00 2A8C87E6 2D612582 409BBC23 01006E0B
3B0FAB39 869623C1 25A35293 AD05BF07 1AC69598 0797FCC3 BB056DF2 B4C9F44E
Key: 7438b9ca16be14b950b3978c7f3e540351da8a4a6e930cd3ece7f08dc2ec1ba2 {
= SHA256('MARC') }
Output:
BCD29139 57D3E0D9 6D473183 64ED0C47 8BA1AC44 2A361B1C 453B03A7 CE0F1987
288D01E7 6623A67E 99FE90EF 2C1A24DA EC6C5421 A1133710 4A2D10AE BB33A931
5DB0BB8A 02FC63CB 2978CB9D 43412D9A F889D26B B0A90857 4A6F27F6 1584CE91
208159BE 6CDBFF4E 8B302057 540DDFA6 A7307BB5 45DA87AF 923F2DFE 6D5A5C4B
Regards,
Chax Plore
--
-----BEGIN PGP PUBLIC KEY FINGERPRINT-----
5745 807C 2B82 14D8 AB06 422C 8876 5DFC 2A51 778C
------END PGP PUBLIC KEY FINGERPRINT------
-----BEGIN PGP PUBLIC KEY FINGERPRINT-----
5745 807C 2B82 14D8 AB06 422C 8876 5DFC 2A51 778C
------END PGP PUBLIC KEY FINGERPRINT------