1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:37:44 +00:00

LibCrypt: Add LibCrypt, crypt, and crypt_r

This commit is contained in:
Peter Elliott 2020-07-24 21:08:48 -06:00 committed by Andreas Kling
parent 58dd9f2d2a
commit 9dcbb263f1
4 changed files with 93 additions and 0 deletions

View file

@ -179,4 +179,12 @@ enum {
};
long sysconf(int name);
struct crypt_data {
int initialized;
char result[65];
};
char* crypt(const char* key, const char* salt);
char* crypt_r(const char* key, const char* salt, struct crypt_data* data);
__END_DECLS