This class contains the cryptographic functions for SHA1. More...
#include <Sha.h>
Public Member Functions | |
Sha () | |
Constructs an object that can be used to calculate the SHA1 message digest of QByteArray. | |
QByteArray | sha1_hash (QByteArray in) |
Calculate the message digest of the provided parameter. |
This class contains the cryptographic functions for SHA1.
The sha class provides simple function calls to calculate the SHA1 message digest of a QByteArray.
QByteArray Sha::sha1_hash | ( | QByteArray | in | ) |
Calculate the message digest of the provided parameter.
The return message Digest has a lenght of 20 Bytes
in | contains the information from which we want to calculate the message digest |