|
Sha384 (Sha 384 secure hash algorithm) |
|
|
| Sha384 Class |
|
|
|
|
Derived class from: Sha512
Implements hash algorithm SHA 384.
The class contains:
Constructors & Destructor
Initializer methods
Class methods
Class Constructors & Destructors
|
|
|
Sha384 (); |
| |
|
Creates an object of the base class, sets the default values for common members. Before the object can be used, BaseCryptoRandomStream hashStream must be assigned and the hash must be initialized.
|
|
|
|
Sha384 (BaseCryptoRandomStream* hashStream); [ Inherited from BaseHash ]
|
| |
|
Creates an object of the base class, sets the default values for common members of all derived classes and sets the BaseCryptoRandomStream hashStream object (Message Digest stream) passed as the digest that will be used by the object Sha384 hash algorithm.
|
|
|
|
~Sha384 (); |
| |
|
Destroys the object and clears all common members. If working hash digest of 512 bits has been automatically created deletes working hash digest of 512 bits. |
|
|
|
void Initialize(void); [ Sha512 member class overridden ] |
| |
|
Initializes the hash object to perform the following hash operation.
|
|
|
|
void Finalize(void); [ Sha512 member class overridden ]
|
| |
|
Finalizes the hash computation with all added BaseCryptoRandomStream dataStream objects.
|
|
|
|
unsigned short int GetBitHashLength(void); [ Sha512 member class overridden ]
|
| |
|
Gets the Hash stream length measured in bits that the specific hash algorithm works with, with Sha384 objects the value is 384 bits.
|
|
|
|
unsigned short int GetUCHashLength(void); [ Sha512 member class overridden ]
|
| |
|
Gets the Hash stream length measured in bytes (unsigned chars) that the specific hash algorithm works with, with Sha384 objects the value is 48 unsigned chars (1 byte).
|
|
|
|
unsigned short int GetULHashLength(void); [ Sha512 member class overridden ]
|
| |
|
Gets the Hash stream length measured in 4 bytes (usigned long ints) that the specific hash algorithm works with, with Sha384 objects the value is 12 unsigned long ints (4 bytes).
|
|
|
|
void SetMessageDigest (BaseCryptoRandomStream* hashStream); [ Inherited from BaseHash ]
|
| |
|
Sets the BaseCryptoRandomStream hashStream object (Message Digest stream) passed as the digest that will be used by the specific hash algorithm.
|
|
|
|
BaseCryptoRandomStream* GetMessageDigest (void); [ Inherited from BaseHash ]
|
| |
|
Gets the BaseCryptoRandomStream hashStream object used by the hash algorithm object. |
|
|
|
void SetWorkingDigest (BaseCryptoRandomStream* workingDigest);
|
| |
|
Sets the BaseCryptoRandomStream workingDigest object to perform the hash computation of Sha512 base class.
|
|
|
|
unsigned short int GetWorkingDigestUCLength (void);
|
| |
|
Gets the working hash digest length for Sha384 hash algorithm object. In the case of Sha384 the working digest length in bytes (unsigned chars) is 64.
|
|
|
|
Hashes GetType(void); [ Sha512 member class overridden ] |
| |
|
Gets the hash algorithm type (the algorithm that implements) of the object.
Returns the Hashes value SHA_384.
|
You can check the page Used Symbols for an explanation of the symbols near the information.
|
|
|