Need help understanding stream cipher

Networking/Security Forums -> Cryptographic Theory and Cryptanalysis - Internal and Transmission Security

Author: flit PostPosted: Tue Oct 12, 2010 1:14 am    Post subject: Need help understanding stream cipher
    ----
Hello,

I am trying to understand how stream cipher works, but the book I am reading is in my opinion not clear enough. So I did some research on the Internet and I made a drawing of how stream cipher works but the problem is I do not know if I got it right. Can you please read the encryption and decryption process I put together and check my drawing and correct me if I am wrong?

Thanks in advance.

Stream Cipher Encryption:
1. Starts with a secret key ("seed")
2. Sender and receiver both share the secret key
3. Sender and receiver generate identical key streams using the shared key
4. The clear text message will be processed bit by bit (as a stream)
5. The key stream is then logically combined with the plain text via Exclusive-Or (XOR) which is represented by a circle with a cross in it to produce cipher text.

Stream Cipher Decryption:
1. At the other end of the network, the receiver uses the shared secret key to produce identical key stream to the sender.
2. This is then XOR-ed with the incoming cipher text to reproduce the original text.

Link to the drawing:
http://www.mediafire.com/imgbnc.php/290d0281cb323ea574e8e21073e0e2016g.jpg



Networking/Security Forums -> Cryptographic Theory and Cryptanalysis - Internal and Transmission Security


output generated using printer-friendly topic mod, All times are GMT + 2 Hours

Page 1 of 1

Powered by phpBB 2.0.x © 2001 phpBB Group