idcrypt.h
Go to the documentation of this file.
00001 /******************************************************************************
00002   Copyright (c)  2004 by Turku PET Centre
00003 
00004   idcrypt.h
00005 
00006   Date
00007   2004-12-14 Calle Laakkonen
00008     Created file
00009 ******************************************************************************/
00010 #ifndef IDCRYPT_H
00011 #define IDCRYPT_H
00012 /*****************************************************************************/
00013 
00014 /*
00015  * Return libpet idcrypt module version
00016  */
00017 extern const char *libpet_idcrypt_version(void);
00018 
00019 /*
00020  * Scramble characters in ASCII range 32-126
00021  * using the Vigenere Cipher.
00022  */
00023 extern int id_crypt(const char *string,const char *key,char *out,int decrypt);
00024 
00025 
00026 #endif
00027