Rudiments
crypt.h
1 // Copyright (c) 2004 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 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
15 class RUDIMENTS_DLLSPEC crypt {
16  public:
17 
28  static char *encrypt(const char *password,
29  const char *salt);
30 
37  static bool needsMutex();
38 
42  static void setMutex(mutex *mtx);
43 
44  #include <rudiments/private/crypt.h>
45 };
46 
47 #ifdef RUDIMENTS_NAMESPACE
48 }
49 #endif
50 
51 #endif