Functions

AppSecInc::Crypt::CryptoPPImpl Namespace Reference

Functions

std::vector< byte > DESEDE3GenerateKey ()
 Generate a key for encryption using DES_EDE3.
std::vector< byte > DESEDE3Encrypt (const std::vector< byte > &input, const std::vector< byte > &key)
std::vector< byte > DESEDE3Decrypt (const std::vector< byte > &input, const std::vector< byte > &key)
std::string Base64Encode (const std::vector< byte > &input)
std::vector< byte > Base64Decode (const std::string &input)
std::string HexEncode (const std::vector< byte > &input)
std::vector< byte > HexDecode (const std::string &input)
void Pad (const std::vector< byte > &input, int size, std::vector< byte > &output, int &nBlocks)
std::vector< byte > Pad (const std::vector< byte > &input, int size)
std::vector< byte > GenerateRandom (long size)

Function Documentation

std::vector< byte > AppSecInc::Crypt::CryptoPPImpl::Base64Decode ( const std::string &  input)
std::string AppSecInc::Crypt::CryptoPPImpl::Base64Encode ( const std::vector< byte > &  input)
std::vector< byte > AppSecInc::Crypt::CryptoPPImpl::DESEDE3Decrypt ( const std::vector< byte > &  input,
const std::vector< byte > &  key 
)
std::vector< byte > AppSecInc::Crypt::CryptoPPImpl::DESEDE3Encrypt ( const std::vector< byte > &  input,
const std::vector< byte > &  key 
)
AppSecInc::Crypt::CryptoPPImpl::DESEDE3GenerateKey ( )

Generate a key for encryption using DES_EDE3.

std::vector< byte > AppSecInc::Crypt::CryptoPPImpl::GenerateRandom ( long  size)
std::vector< byte > AppSecInc::Crypt::CryptoPPImpl::HexDecode ( const std::string &  input)
std::string AppSecInc::Crypt::CryptoPPImpl::HexEncode ( const std::vector< byte > &  input)
void AppSecInc::Crypt::CryptoPPImpl::Pad ( const std::vector< byte > &  input,
int  size,
std::vector< byte > &  output,
int &  nBlocks 
)
std::vector< byte > AppSecInc::Crypt::CryptoPPImpl::Pad ( const std::vector< byte > &  input,
int  size 
)


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com