From: couturie Date: Fri, 8 Mar 2019 16:31:54 +0000 (+0100) Subject: new X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/commitdiff_plain/26d66a941e7914ca129eeec61891c561c968d034?ds=sidebyside;hp=-c new --- 26d66a941e7914ca129eeec61891c561c968d034 diff --git a/Hash/rc4_hash.cpp b/Hash/rc4_hash.cpp index bdb3da1..2b4afca 100644 --- a/Hash/rc4_hash.cpp +++ b/Hash/rc4_hash.cpp @@ -295,7 +295,6 @@ int main(int argc, char** argv) { } cout<0;a-=2) { - // Z[a-1]=Z[a]^Y[a]; - // Z[a-2]=Z[a-1]^Y[a-1]; - // } - - // /* - // Z[h-1]=Y[h-1]^Y[0]; - // Z[h-2]=Z[h-1]^Y[h-1]; - // Z[h-3]=Z[h-2]^Y[h-2]; - // Z[h-4]=Z[h-3]^Y[h-3]; - // for(int a=h-4;a>0;a-=4) { - // Z[a-1]=Z[a]^Y[a]; - // Z[a]=Z[a+1]^Y[a+1]; - // Z[a+1]=Z[a+2]^Y[a+2]; - // Z[a+2]=Z[a+3]^Y[a+3]; - // } - // */ - - // for(int a=0;a