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
12char *get_passwd(const BMessage *msg,const char *name);
13bool set_passwd(BMessage *msg,const char *name,const char *password);
14
15void passwd_crypt(char *in,char *out,int length);
16
17#endif	/* ZOIDBERG_CRYPT_H */
18