Functions
idcrypt.h File Reference
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

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.
Returns:
Returns 0 if successful
Parameters:
stringOriginal string to be encrypted/decrypted
keyKeyword string
outEncrypted/decrypted string
decryptSet to 1 when decrypting, or to 0 when encrypting
const char* libpet_idcrypt_version ( void  )

Return idcrypt module version info