#include "common/common.h"
#include "threadsafe/smart_ptr.h"
Go to the source code of this file.
Classes | |
class | crypto::RSAPublicKey |
public key suitable for encrypting More... | |
class | crypto::RSAKey |
private/public key pair. More... | |
class | crypto::DESKey |
fast symmetric encryption More... | |
Namespaces | |
namespace | crypto |
| |
typedef std::vector< byte_t > | crypto::vec_byte_t |
std::string | crypto::getSHA1 (IN const char *data) |
quick one-way encryption (SHA1 algorithm, see http://en.wikipedia.org/wiki/SHA-1) | |
std::string | crypto::encodeBase64 (IN const byte_t *data, IN long bytes, IN bool encodeLength=true) |
given binary data, encode into base64 ascii string | |
void | crypto::decodeBase64 (IN const char *base64, OUT vec_byte_t &data) |
given base64 ascii string, decode into byte array |