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 37 of file llblowfishcipher.cpp.

References llassert, mSecret, and mSecretSize.

LLBlowfishCipher::~LLBlowfishCipher (  )  [virtual]

Definition at line 47 of file llblowfishcipher.cpp.

References mSecret, and NULL.


Member Function Documentation

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

Implements LLCipher.

Definition at line 54 of file llblowfishcipher.cpp.

References lldebugs, llendl, llwarns, mSecret, mSecretSize, and NULL.

Referenced by LLMail::encryptIMEmailAddress().

Here is the caller graph for this function:

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

Implements LLCipher.

Definition at line 113 of file llblowfishcipher.cpp.

References llendl, and llerrs.

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

Implements LLCipher.

Definition at line 120 of file llblowfishcipher.cpp.

Referenced by LLMail::encryptIMEmailAddress().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 58 of file llblowfishcipher.h.

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

Definition at line 59 of file llblowfishcipher.h.

Referenced by encrypt(), and LLBlowfishCipher().


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

Generated on Fri May 16 08:39:28 2008 for SecondLife by  doxygen 1.5.5