Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SkyFire::Crypto::ARC4 Class Reference

#include <ARC4.h>

Public Member Functions

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

Private Attributes

EVP_CIPHER_CTX * _ctx

Detailed Description

Definition at line 16 of file ARC4.h.

Constructor & Destructor Documentation

◆ ARC4()

SkyFire::Crypto::ARC4::ARC4 ( )

Definition at line 10 of file ARC4.cpp.

References _ctx, and ASSERT.

◆ ~ARC4()

SkyFire::Crypto::ARC4::~ARC4 ( )

Definition at line 19 of file ARC4.cpp.

References _ctx.

Member Function Documentation

◆ Init() [1/2]

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

Definition at line 24 of file ARC4.h.

References Init().

Referenced by Init().

◆ Init() [2/2]

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

Definition at line 24 of file ARC4.cpp.

References _ctx, and ASSERT.

◆ UpdateData() [1/2]

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

Definition at line 28 of file ARC4.h.

References UpdateData().

Referenced by UpdateData().

◆ UpdateData() [2/2]

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

Definition at line 32 of file ARC4.cpp.

References _ctx, and ASSERT.

Member Data Documentation

◆ _ctx

EVP_CIPHER_CTX* SkyFire::Crypto::ARC4::_ctx
private

Definition at line 30 of file ARC4.h.

Referenced by ARC4(), Init(), UpdateData(), and ~ARC4().


The documentation for this class was generated from the following files:
  • src/server/shared/Cryptography/ARC4.h
  • src/server/shared/Cryptography/ARC4.cpp