TrinityCore
CryptoGenerics.h File Reference
#include "BigNumber.h"
#include "CryptoRandom.h"
#include "Define.h"
#include "Errors.h"
#include <iterator>
#include <vector>
+ Include dependency graph for CryptoGenerics.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Trinity::Impl::CryptoGenericsImpl
 

Namespaces

namespace  Trinity
 
namespace  Trinity::Impl
 
namespace  Trinity::Crypto
 

Functions

template<typename Cipher >
void Trinity::Crypto::AEEncryptWithRandomIV (std::vector< uint8 > &data, typename Cipher::Key const &key)
 
template<typename Cipher >
void Trinity::Crypto::AEEncryptWithRandomIV (std::vector< uint8 > &data, BigNumber const &key)
 
template<typename Cipher >
bool Trinity::Crypto::AEDecrypt (std::vector< uint8 > &data, typename Cipher::Key const &key)
 
template<typename Cipher >
bool Trinity::Crypto::AEDecrypt (std::vector< uint8 > &data, BigNumber const &key)