ucc::Cipher::Key Class Reference
Cipher key formed by hash algorithm.
More...
#include <secure.h>
|
Public Member Functions |
void | clear (void) |
size_t | iosize (void) |
| Key (char *cipher, char *digest, char *text, size_t size=0, unsigned char *salt=((void *) 0), unsigned rounds=1) |
| operator bool () |
bool | operator! () |
size_t | size (void) |
Protected Member Functions |
| Key (char *cipher) |
void | set (char *cipher) |
Protected Attributes |
union { |
int algoid |
void * algotype |
}; | |
union { |
int hashid |
void * hashtype |
}; | |
size_t | blksize |
unsigned char | ivbuf [512/8] |
unsigned char | keybuf [512/8] |
size_t | keysize |
int | modeid |
Friends |
class | Cipher |
Detailed Description
Cipher key formed by hash algorithm.
This can generate both a key and iv table based on the algorithms used and required. Normally it is used from a pass-phrase, though any block of data may be supplied.
- Author:
- David Sugar <dyfet@gnutelephony.org>
Definition at line 266 of file secure.h.
The documentation for this class was generated from the following file: