Classes | Public Member Functions | Static Public Member Functions

Swift::SHA1 Class Reference

Collaboration diagram for Swift::SHA1:

List of all members.

Classes

struct  CTX

Public Member Functions

 SHA1 ()
SHA1update (const std::vector< unsigned char > &data)
std::vector< unsigned char > getHash () const
ByteArray operator() (const SafeByteArray &data)
ByteArray operator() (const ByteArray &data)
 SHA1 ()
 ~SHA1 ()
SHA1update (const std::vector< unsigned char > &data)
std::vector< unsigned char > getHash () const
ByteArray operator() (const SafeByteArray &data)
ByteArray operator() (const ByteArray &data)

Static Public Member Functions

static ByteArray getHash (const ByteArray &data)
 Equivalent of: SHA1().update(data),getHash(), but slightly more efficient and convenient.
static ByteArray getHash (const SafeByteArray &data)
static ByteArray getHash (const ByteArray &data)
static ByteArray getHash (const SafeByteArray &data)

Detailed Description

Definition at line 21 of file SHA1.h.


Constructor & Destructor Documentation

Swift::SHA1::SHA1 (  ) 
Swift::SHA1::SHA1 (  ) 
Swift::SHA1::~SHA1 (  ) 

Member Function Documentation

std::vector<unsigned char> Swift::SHA1::getHash (  )  const
static ByteArray Swift::SHA1::getHash ( const SafeByteArray &  data  )  [static]
std::vector<unsigned char> Swift::SHA1::getHash (  )  const
static ByteArray Swift::SHA1::getHash ( const ByteArray &  data  )  [static]
static ByteArray Swift::SHA1::getHash ( const SafeByteArray &  data  )  [static]
static ByteArray Swift::SHA1::getHash ( const ByteArray &  data  )  [static]

Equivalent of: SHA1().update(data),getHash(), but slightly more efficient and convenient.

ByteArray Swift::SHA1::operator() ( const ByteArray &  data  )  [inline]

Definition at line 34 of file SHA1_Windows.h.

ByteArray Swift::SHA1::operator() ( const SafeByteArray &  data  )  [inline]

Definition at line 30 of file SHA1_Windows.h.

ByteArray Swift::SHA1::operator() ( const SafeByteArray &  data  )  [inline]

Definition at line 36 of file SHA1.h.

ByteArray Swift::SHA1::operator() ( const ByteArray &  data  )  [inline]

Definition at line 40 of file SHA1.h.

SHA1& Swift::SHA1::update ( const std::vector< unsigned char > &  data  ) 
SHA1& Swift::SHA1::update ( const std::vector< unsigned char > &  data  )