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

#include <Sha256.h>

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

Public Member Functions

 Sha256 ()
 
virtual ~Sha256 ()
 
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

Sha256 hash implementation.

Definition at line 38 of file Sha256.h.

Constructor & Destructor Documentation

◆ Sha256()

Aws::Utils::Crypto::Sha256::Sha256 ( )

Initializes platform crypto libs.

◆ ~Sha256()

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

Member Function Documentation

◆ Calculate() [1/2]

virtual HashResult Aws::Utils::Crypto::Sha256::Calculate ( Aws::IStream stream)
overridevirtual

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

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

◆ Calculate() [2/2]

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

Calculates a SHA256 Hash digest (not hex encoded)

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


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