Anope IRC Services  Version 2.0
Public Member Functions
Encryption::Context Class Referenceabstract

#include <encryption.h>

Inheritance diagram for Encryption::Context:
Inheritance graph
[legend]

Public Member Functions

virtual ~Context ()
 
virtual void Update (const unsigned char *data, size_t len)=0
 
virtual void Finalize ()=0
 
virtual Hash GetFinalizedHash ()=0
 

Detailed Description

Definition at line 18 of file encryption.h.

Constructor & Destructor Documentation

virtual Encryption::Context::~Context ( )
inlinevirtual

Definition at line 21 of file encryption.h.

Member Function Documentation

virtual void Encryption::Context::Finalize ( )
pure virtual

Implemented in MD5Context, SHA256Context, and SHA1Context.

Referenced by EOld::OnEncrypt().

virtual Hash Encryption::Context::GetFinalizedHash ( )
pure virtual

Implemented in MD5Context, SHA256Context, and SHA1Context.

Referenced by EOld::OnEncrypt().

virtual void Encryption::Context::Update ( const unsigned char *  data,
size_t  len 
)
pure virtual

Implemented in MD5Context, SHA256Context, and SHA1Context.

Referenced by EOld::OnEncrypt().


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