Kyoto Cabinet
Public Member Functions
kyotocabinet::ArcfourCompressor Class Reference

Compressor with the Arcfour cipher. More...

#include <kccompress.h>

List of all members.

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.

Detailed Description

Compressor with the Arcfour cipher.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

void kyotocabinet::ArcfourCompressor::set_key ( const void *  kbuf,
size_t  ksiz 
)

Set the cipher key.

Parameters:
kbufthe pointer to the region of the cipher key.
ksizthe size of the region of the cipher key.

Set an additional data compressor.

Parameters:
compthe additional data data compressor.
void kyotocabinet::ArcfourCompressor::begin_cycle ( uint64_t  salt = 0)

Begin the cycle of ciper salt.

Parameters:
saltthe additional cipher salt.