Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
express
password_hash.h
1
// Filename: password_hash.h
2
// Created by: drose (01Sep04)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
#ifndef PASSWORD_HASH_H
16
#define PASSWORD_HASH_H
17
18
#include "pandabase.h"
19
20
// The functions defined within this file rely on algorithms defined
21
// within OpenSSL.
22
#ifdef HAVE_OPENSSL
23
24
BEGIN_PUBLISH
25
26
EXPCL_PANDAEXPRESS
string
password_hash(
const
string
&password,
27
const
string
&salt,
28
int
iters,
int
keylen);
29
30
END_PUBLISH
31
32
#endif // HAVE_OPENSSL
33
34
#endif
Generated on Mon Feb 1 2016 13:44:24 for Panda3D by
1.8.5