URL
https://opencores.org/ocsvn/rc4-prbs/rc4-prbs/trunk
Subversion Repositories rc4-prbs
Compare Revisions
- This comparison shows the changes necessary to convert path
/rc4-prbs
- from Rev 18 to Rev 19
- ↔ Reverse comparison
Rev 18 → Rev 19
/trunk/README.txt
7,7 → 7,7
1) First, issue rst |
2) Load the password byte-by-byte into the password_input port. The lenght of the password is KEY_SIZE |
3) Issue 768 clocks to perform key expansion |
4) Wait about 1000 clocks while the module discards the first 1000 weak bytes of the stream. |
4) Wait 1536 clocks while the module discards the first weak bytes of the stream as per RFC 4345. |
5) Now you should start receiving the pseudo-random stream via the output bus, one byte every clock. The output_ready signal signals when a valid byte is present at the output K. |
To encrypt or decrypt using RC4 you simply xor your data with the output stream. |
|