Panda3D
panda
src
express
password_hash.h
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file password_hash.h
10
* @author drose
11
* @date 2004-09-01
12
*/
13
14
#ifndef PASSWORD_HASH_H
15
#define PASSWORD_HASH_H
16
17
#include "
pandabase.h
"
18
19
// The functions defined within this file rely on algorithms defined within
20
// OpenSSL.
21
#ifdef HAVE_OPENSSL
22
23
BEGIN_PUBLISH
24
25
EXPCL_PANDA_EXPRESS std::string password_hash(
const
std::string &password,
26
const
std::string &salt,
27
int
iters,
int
keylen);
28
29
END_PUBLISH
30
31
#endif // HAVE_OPENSSL
32
33
#endif
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Wed Jan 23 2019 21:40:00 for Panda3D by
1.8.15