d25dd4b920
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36203 a95241bf-73f2-0310-859d-f6bbb57e9c96
18 lines
413 B
C
18 lines
413 B
C
/* crypt - simple encryption algorithm used for passwords
|
|
*
|
|
* Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
|
|
*/
|
|
#ifndef ZOIDBERG_CRYPT_H
|
|
#define ZOIDBERG_CRYPT_H
|
|
|
|
|
|
#define PASSWORD_LENGTH 32
|
|
|
|
|
|
char *get_passwd(BMessage *msg,const char *name);
|
|
bool set_passwd(BMessage *msg,const char *name,const char *password);
|
|
|
|
void passwd_crypt(char *in,char *out,int length);
|
|
|
|
#endif /* ZOIDBERG_CRYPT_H */
|