TrinityCore
Trinity::Crypto::ARC4 Class Reference

#include <ARC4.h>

Public Member Functions

 ARC4 ()
 
 ~ARC4 ()
 
void Init (uint8 const *seed, size_t len)
 
template<typename Container >
void Init (Container const &c)
 
void UpdateData (uint8 *data, size_t len)
 
template<typename Container >
void UpdateData (Container &c)
 

Private Attributes

EVP_CIPHER_CTX * _ctx
 

Detailed Description

Definition at line 27 of file ARC4.h.

Constructor & Destructor Documentation

◆ ARC4()

Trinity::Crypto::ARC4::ARC4 ( )

Definition at line 21 of file ARC4.cpp.

◆ ~ARC4()

Trinity::Crypto::ARC4::~ARC4 ( )

Definition at line 34 of file ARC4.cpp.

Member Function Documentation

◆ Init() [1/2]

template<typename Container >
void Trinity::Crypto::ARC4::Init ( Container const &  c)
inline

Definition at line 35 of file ARC4.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Init() [2/2]

void Trinity::Crypto::ARC4::Init ( uint8 const *  seed,
size_t  len 
)

Definition at line 43 of file ARC4.cpp.

+ Here is the caller graph for this function:

◆ UpdateData() [1/2]

template<typename Container >
void Trinity::Crypto::ARC4::UpdateData ( Container &  c)
inline

Definition at line 39 of file ARC4.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateData() [2/2]

void Trinity::Crypto::ARC4::UpdateData ( uint8 data,
size_t  len 
)

Definition at line 51 of file ARC4.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _ctx

EVP_CIPHER_CTX* Trinity::Crypto::ARC4::_ctx
private

Definition at line 44 of file ARC4.h.


The documentation for this class was generated from the following files: