00001 00002 00003 /* 00004 * Author: Arvin Schnell <arvin@suse.de> 00005 */ 00006 00007 00008 #ifndef _y2crypt_h 00009 #define _y2crypt_h 00010 00011 00012 #include <string> 00013 00014 using std::string; 00015 00016 00017 enum crypt_t { CRYPT, MD5, BIGCRYPT, BLOWFISH }; 00018 00019 bool 00020 crypt_pass (string unencrypted, crypt_t use_crypt, string* encrypted); 00021 00022 00023 #endif