|
Kyoto Cabinet
|
Compressor with the Arcfour cipher. More...
#include <kccompress.h>
Public Member Functions | |
| ArcfourCompressor () | |
| Constructor. | |
| ~ArcfourCompressor () | |
| Destructor. | |
| void | set_key (const void *kbuf, size_t ksiz) |
| Set the cipher key. | |
| void | set_compressor (Compressor *comp) |
| Set an additional data compressor. | |
| void | begin_cycle (uint64_t salt=0) |
| Begin the cycle of ciper salt. | |
Compressor with the Arcfour cipher.
Constructor.
Destructor.
| void kyotocabinet::ArcfourCompressor::set_key | ( | const void * | kbuf, |
| size_t | ksiz | ||
| ) |
Set the cipher key.
| 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.
| comp | the additional data data compressor. |
| void kyotocabinet::ArcfourCompressor::begin_cycle | ( | uint64_t | salt = 0 | ) |
Begin the cycle of ciper salt.
| salt | the additional cipher salt. |
1.7.6.1