Stream Ciphers

In contrast to block ciphers, stream ciphers operate on a plaintext stream instead of blocks. Thus encrypting data results in changing the internal state of the cipher and encryption of plaintext with arbitrary length is possible in one go (in byte amounts). More...

+ Collaboration diagram for Stream Ciphers:

Modules

 Algorithms
 Algorithms are meant to provide decryption interface similar to STL algorithms' one.
 

Classes

class  nil::crypto3::stream::chacha< IVBits, KeyBits, Rounds >
 DJB's ChaCha (https://cr.yp.to/chacha.html) More...
 
class  nil::crypto3::stream::rc4< IVBits, KeyBits, SkipSize >
 
class  nil::crypto3::stream::salsa20< IVBits, KeyBits, Rounds >
 

Detailed Description

In contrast to block ciphers, stream ciphers operate on a plaintext stream instead of blocks. Thus encrypting data results in changing the internal state of the cipher and encryption of plaintext with arbitrary length is possible in one go (in byte amounts).