X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/f94114ff256df38d3ab1561a2afa92fdfdf8d0e9..f9c7d95fc6c7299a40d4c917dc9972bf340eabd4:/CipherImg/test_sub_perm.cpp?ds=inline diff --git a/CipherImg/test_sub_perm.cpp b/CipherImg/test_sub_perm.cpp index b985de4..4e95800 100644 --- a/CipherImg/test_sub_perm.cpp +++ b/CipherImg/test_sub_perm.cpp @@ -57,6 +57,29 @@ void rc4key(uchar *key, uchar *sc, int size_DK) { } } +void rc4keyperm(uchar *key,int len, int rp,int *sc, int size_DK) { + + //sc=1:len; + + + + for (int i=0;i