Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
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:

Go to the source code of this file.

Classes

struct  SkyFire::Impl::CryptoGenericsImpl

Namespaces

namespace  SkyFire
namespace  SkyFire::Crypto
namespace  SkyFire::Impl

Functions

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