sella::util::Crypt Class Reference

List of all members.

Public Member Functions

 Crypt (const char *algo=CRYPT_ALGO_DEF, const char *mode=CRYPT_MODE_DEF, int bits=CRYPT_KEYLEN_DEF)
 Crypt (const Crypt &other)
Cryptoperator= (const Crypt &other) throw ()
void clear (void)
void setSeed (uint32_t seed)
void setFlipSeed (uint32_t seed, uint32_t pattern=CRYPT_SERIAL_XOR)
uint32_t getSeed (void) const
bool setPassword (const char *password=CRYPT_PASSWORD_DEF, const char *salt=CRYPT_SALT_DEF)
const char * getPassword (void)
const unsigned char * getKey (void)
void setKeyLen (int bits)
int getKeyLen (void) const
bool encrypt (char *plainetext, int len)
bool decrypt (char *ciphertext, int len)
bool check (const char *ciphertext, int len)

Detailed Description

Definition at line 32 of file Crypt.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on 20 Nov 2014 for libutil++ by  doxygen 1.6.1