|
TPCCLIB
|
Encryption/decryption of subject names and other identification information in string form. More...
#include "libtpcmisc.h"Go to the source code of this file.
Functions | |
| const char * | libpet_idcrypt_version (void) |
| int | id_crypt (const char *string, const char *key, char *out, int decrypt) |
Encryption/decryption of subject names and other identification information in string form.
Definition in file idcrypt.c.
| int id_crypt | ( | const char * | string, |
| const char * | key, | ||
| char * | out, | ||
| int | decrypt ) |
Scramble characters in ASCII range 32-126 using the Vigenere Cipher. Other characters are discarded.
| string | Original string to be encrypted/decrypted |
| key | Keyword string |
| out | Encrypted/decrypted string |
| decrypt | Set to 1 when decrypting, or to 0 when encrypting |
Definition at line 23 of file idcrypt.c.
Referenced by id_crypt().
| const char * libpet_idcrypt_version | ( | void | ) |
Return idcrypt module version info
Definition at line 15 of file idcrypt.c.
Referenced by libpet_idcrypt_version().