Rudiments

crypt.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_CRYPT_H
5 #define RUDIMENTS_CRYPT_H
6
7 #include <rudiments/private/cryptincludes.h>
8
11 class RUDIMENTS_DLLSPEC crypt {
12 public:
13
24 static char *encrypt(const char *password,
25 const char *salt);
26
33 static bool needsMutex();
34
38 static void setMutex(threadmutex *mtx);
39 };
40
41 #endif
crypt
Definition: crypt.h:11
crypt::setMutex
static void setMutex(threadmutex *mtx)
crypt::needsMutex
static bool needsMutex()
crypt::encrypt
static char * encrypt(const char *password, const char *salt)
threadmutex
Definition: threadmutex.h:11