X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/296dd1e39bf847d07543c55390993129ad1fa3d3..248cb37c4fc6ec91a0dc94ee5a94d2df675bfce9:/Hash/rc4_hash.cpp?ds=sidebyside diff --git a/Hash/rc4_hash.cpp b/Hash/rc4_hash.cpp index bdb3da1..1dedb0d 100644 --- a/Hash/rc4_hash.cpp +++ b/Hash/rc4_hash.cpp @@ -151,7 +151,8 @@ 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]++; + } @@ -295,7 +301,6 @@ int main(int argc, char** argv) { } cout<