LLBlowfishCipher Class Reference

#include <llblowfishcipher.h>

Inheritance diagram for LLBlowfishCipher:

Inheritance graph
[legend]
Collaboration diagram for LLBlowfishCipher:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLBlowfishCipher (const U8 *secret, size_t secret_size)
virtual ~LLBlowfishCipher ()
U32 encrypt (const U8 *src, U32 src_len, U8 *dst, U32 dst_len)
U32 decrypt (const U8 *src, U32 src_len, U8 *dst, U32 dst_len)
U32 requiredEncryptionSpace (U32 src_len) const

Private Attributes

U8mSecret
size_t mSecretSize

Detailed Description

Definition at line 41 of file llblowfishcipher.h.


Constructor & Destructor Documentation

LLBlowfishCipher::LLBlowfishCipher ( const U8 secret,
size_t  secret_size 
)

Definition at line 40 of file llblowfishcipher.cpp.

References llassert, mSecret, and mSecretSize.

LLBlowfishCipher::~LLBlowfishCipher (  )  [virtual]

Definition at line 50 of file llblowfishcipher.cpp.

References mSecret, and NULL.


Member Function Documentation

U32 LLBlowfishCipher::decrypt ( const U8 src,
U32  src_len,
U8 dst,
U32  dst_len 
) [virtual]

Implements LLCipher.

Definition at line 150 of file llblowfishcipher.cpp.

References llerrs.

U32 LLBlowfishCipher::encrypt ( const U8 src,
U32  src_len,
U8 dst,
U32  dst_len 
) [virtual]

Implements LLCipher.

Definition at line 143 of file llblowfishcipher.cpp.

References llerrs.

Referenced by LLMail::encryptIMEmailAddress().

U32 LLBlowfishCipher::requiredEncryptionSpace ( U32  src_len  )  const [virtual]

Implements LLCipher.

Definition at line 157 of file llblowfishcipher.cpp.

References llerrs.

Referenced by LLMail::encryptIMEmailAddress().


Member Data Documentation

U8* LLBlowfishCipher::mSecret [private]

Definition at line 58 of file llblowfishcipher.h.

Referenced by LLBlowfishCipher(), and ~LLBlowfishCipher().

size_t LLBlowfishCipher::mSecretSize [private]

Definition at line 59 of file llblowfishcipher.h.

Referenced by LLBlowfishCipher().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:11 2010 for Second Life Viewer by  doxygen 1.4.7