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

#include <CryptoImpl.h>

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

Public Member Functions

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

Bcrypt based sha256 hash implementation.

Definition at line 134 of file CryptoImpl.h.

Constructor & Destructor Documentation

◆ Sha256BcryptImpl()

Aws::Utils::Crypto::Sha256BcryptImpl::Sha256BcryptImpl ( )

Initializes the algorithm handles and sets up state. You don't want to call this very often

◆ ~Sha256BcryptImpl()

virtual Aws::Utils::Crypto::Sha256BcryptImpl::~Sha256BcryptImpl ( )
inlinevirtual

Definition at line 141 of file CryptoImpl.h.

Member Function Documentation

◆ Calculate() [1/2]

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

Calculates a sha256 hash on the stream without loading the entire stream into memory at once.

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

◆ Calculate() [2/2]

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

Calculates sha256 hash on str.

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


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