示例#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();
}