Compressor with the Arcfour cipher.
More...
#include <kccompress.h>
List of all members.
Detailed Description
Compressor with the Arcfour cipher.
Constructor & Destructor Documentation
kyotocabinet::ArcfourCompressor::ArcfourCompressor |
( |
| ) |
|
kyotocabinet::ArcfourCompressor::~ArcfourCompressor |
( |
| ) |
|
Member Function Documentation
void kyotocabinet::ArcfourCompressor::set_key |
( |
const void * |
kbuf, |
|
|
size_t |
ksiz |
|
) |
| |
Set the cipher key.
- Parameters:
-
kbuf | the pointer to the region of the cipher key. |
ksiz | the size of the region of the cipher key. |
void kyotocabinet::ArcfourCompressor::set_compressor |
( |
Compressor * |
comp | ) |
|
Set an additional data compressor.
- Parameters:
-
comp | the additional data data compressor. |
void kyotocabinet::ArcfourCompressor::begin_cycle |
( |
uint64_t |
salt = 0 | ) |
|
Begin the cycle of ciper salt.
- Parameters:
-
salt | the additional cipher salt. |