1 /* crypt - simple encryption algorithm used for passwords
3 * Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
5 #ifndef ZOIDBERG_CRYPT_H
6 #define ZOIDBERG_CRYPT_H
9 #define PASSWORD_LENGTH 32
12 char *get_passwd(const BMessage
*msg
,const char *name
);
13 bool set_passwd(BMessage
*msg
,const char *name
,const char *password
);
15 void passwd_crypt(char *in
,char *out
,int length
);
17 #endif /* ZOIDBERG_CRYPT_H */