From 850eec52402365c9b16495d19c76fa68a90d8e7e Mon Sep 17 00:00:00 2001 From: Hazim-Nomanabed <118206797+Hazim-Nomanabed@users.noreply.github.com> Date: Fri, 18 Nov 2022 09:32:08 +0300 Subject: [PATCH] Update cryptosmt.py add new cipher as a example --- cryptosmt.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cryptosmt.py b/cryptosmt.py index 54762425..3b2c11d7 100644 --- a/cryptosmt.py +++ b/cryptosmt.py @@ -5,7 +5,7 @@ ''' from cryptanalysis import search -from ciphers import (simon, speck, simonlinear, keccak, keccakdiff, +from ciphers import (new, simon, speck, simonlinear, keccak, keccakdiff, siphash, simonrk, chaskeymachalf, simonkeyrc, ketje, ascon, salsa, chacha, skinny, skinnyrk, gimli, present, craft, craftlinear, trifle, trifle, triflerk) @@ -22,7 +22,8 @@ def startsearch(tool_parameters): Starts the search tool for the given parameters """ - cipher_suite = {"simon" : simon.SimonCipher(), + cipher_suite = {"new" : new.NewCipher(), + "simon" : simon.SimonCipher(), "speck" : speck.SpeckCipher(), "simonlinear" : simonlinear.SimonLinearCipher(), "keccak" : keccak.KeccakCipher(),