예제 #1
0
파일: RC4.c 프로젝트: 0xSensei/Slae32
int RC4(char *key, char *plaintext, unsigned char *ciphertext) {

    unsigned char S[N];
    KSA(key, S);

    PRGA(S, plaintext, ciphertext);

    return 0;
}
예제 #2
0
// Metodo que encapsula todos los pasos de cifrado RC4
void RC4::Encrypt(){
	KSA();
	PRGA();
}