CUBRID Engine  latest
encryption.h File Reference
#include "porting.h"
Include dependency graph for encryption.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void crypt_seed (const char *seed)
 
int crypt_encrypt_printable (const char *line, char *crypt, int maxlen)
 
int crypt_encrypt_sha1_printable (const char *line, char *crypt, int maxlen)
 

Function Documentation

int crypt_encrypt_printable ( const char *  line,
char *  crypt,
int  maxlen 
)

Definition at line 91 of file encryption.c.

References crypt_default_encrypt(), crypt_Key, db_private_free_and_init, DES_ECB, i, NO_ERROR, NULL, strlen, and TRUE.

Referenced by encrypt_password().

Here is the caller graph for this function:

int crypt_encrypt_sha1_printable ( const char *  line,
char *  crypt,
int  maxlen 
)

Definition at line 200 of file encryption.c.

References i, SHA1Context::Message_Digest, SHA1Input(), SHA1Reset(), SHA1Result(), and strlen.

Referenced by encrypt_password_sha1().

Here is the caller graph for this function:

void crypt_seed ( const char *  seed)

Definition at line 62 of file encryption.c.

References crypt_Key, and NULL.

Referenced by encrypt_password().

Here is the caller graph for this function: