Implementation - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English

RC4 consist of 2 parts: initialization state, generate key stream and its encryption. Initial state is derived from input key while the key stream is generated by Pseudo-Random Generation Algorithm (PRGA) based on inner state. Inner states is stored in a array with 256 bytes. In each iteration, a byte key is output by PRGA and used to operate bitwise exclusive(XOR) with a byte in plain text. Its input width is 8 bits, so does output width.

RC4