Stream Cipher
Base class for all stream ciphers
Encrypt or decrypt a message
| const(ubyte)* input | the plaintext |
| ubyte* output | the ubyte array to hold the output, i.e. the ciphertext |
| size_t len | the length of both in and out in bytes |
Encrypt or decrypt a message
| const(ubyte)* buf | the plaintext / ciphertext |
| size_t len | the length of buf in bytes |
Encrypt or decrypt a message
| ubyte[] buf | the plaintext / ciphertext |
Resync the cipher using the IV
| const(ubyte)* iv | the initialization vector |
| size_t iv_len | the length of the IV in bytes |
| size_t iv_len | the length of the IV in bytes |
Get a new object representing the same algorithm as this