From 549719a0142ac827f4703769863f66710e7634d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Couturier?= Date: Wed, 30 Jun 2021 17:44:02 +0200 Subject: [PATCH 1/1] new --- CipherImg/test_sub_perm.cpp | 61 ++++++++++++++++++++++++++++++++++--- 1 file changed, 57 insertions(+), 4 deletions(-) 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