xref: /haiku/headers/private/mail/crypt.h (revision f2b4344867e97c3f4e742a1b4a15e6879644601a)
1 /* crypt - simple encryption algorithm used for passwords
2  *
3  * Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
4  */
5 #ifndef ZOIDBERG_CRYPT_H
6 #define ZOIDBERG_CRYPT_H
7 
8 
9 #define PASSWORD_LENGTH 32
10 
11 
12 char *get_passwd(const BMessage *msg,const char *name);
13 bool set_passwd(BMessage *msg,const char *name,const char *password);
14 
15 void passwd_crypt(char *in,char *out,int length);
16 
17 #endif	/* ZOIDBERG_CRYPT_H */
18