AWS SDK for C++  1.9.159
AWS SDK for C++
Public Member Functions | List of all members
Aws::Utils::Crypto::Sha1 Class Reference

#include <Sha1.h>

+ Inheritance diagram for Aws::Utils::Crypto::Sha1:

Public Member Functions

 Sha1 ()
virtual ~Sha1 ()
virtual HashResult Calculate (const Aws::String &str) override
virtual HashResult Calculate (Aws::IStream &stream) override
- Public Member Functions inherited from Aws::Utils::Crypto::Hash
 Hash ()
virtual ~Hash ()

Additional Inherited Members

- Static Public Attributes inherited from Aws::Utils::Crypto::Hash
static const uint32_t INTERNAL_HASH_STREAM_BUFFER_SIZE = 8192

Detailed Description

Sha1 hash implementation.

Definition at line 38 of file Sha1.h.

Constructor & Destructor Documentation

◆ Sha1()

Aws::Utils::Crypto::Sha1::Sha1 ( )

Initializes platform crypto libs.

◆ ~Sha1()

virtual Aws::Utils::Crypto::Sha1::~Sha1 ( )

Member Function Documentation

◆ Calculate() [1/2]

virtual HashResult Aws::Utils::Crypto::Sha1::Calculate ( Aws::IStream stream)

Calculates a SHA1 Hash digest on a stream (the entire stream is read)

Implements Aws::Utils::Crypto::Hash.

◆ Calculate() [2/2]

virtual HashResult Aws::Utils::Crypto::Sha1::Calculate ( const Aws::String str)

Calculates a SHA1 Hash digest (not hex encoded)

Implements Aws::Utils::Crypto::Hash.

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