X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/26d66a941e7914ca129eeec61891c561c968d034..c87f3e4023ac121e30447127f880aff73a4bfc02:/Hash/rc4_hash.cpp diff --git a/Hash/rc4_hash.cpp b/Hash/rc4_hash.cpp index 2b4afca..6dfa677 100644 --- a/Hash/rc4_hash.cpp +++ b/Hash/rc4_hash.cpp @@ -151,8 +151,9 @@ void myhash(uchar* seq_in, int len, uchar* out, int h) { /* for(int i=0;i=32) { + seq[27]++; + } + if(change==4 && imsize>=128) { + seq[67]++; + }