14#ifndef ENCRYPT_STRING_H
15#define ENCRYPT_STRING_H
25EXPCL_PANDA_EXPRESS std::string
26encrypt_string(
const std::string &source,
const std::string &password,
27 const std::string &algorithm = std::string(),
int key_length = -1,
28 int iteration_count = -1);
29EXPCL_PANDA_EXPRESS std::string
30decrypt_string(
const std::string &source,
const std::string &password);
32EXPCL_PANDA_EXPRESS
bool
33encrypt_file(
const Filename &source,
const Filename &dest,
const std::string &password,
34 const std::string &algorithm = std::string(),
int key_length = -1,
35 int iteration_count = -1);
36EXPCL_PANDA_EXPRESS
bool
37decrypt_file(
const Filename &source,
const Filename &dest,
const std::string &password);
39EXPCL_PANDA_EXPRESS
bool
40encrypt_stream(std::istream &source, std::ostream &dest,
const std::string &password,
41 const std::string &algorithm = std::string(),
int key_length = -1,
42 int iteration_count = -1);
43EXPCL_PANDA_EXPRESS
bool
44decrypt_stream(std::istream &source, std::ostream &dest,
const std::string &password);
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.