Mercurial > trustbridge > trustbridge
diff ui/sslhelp.h @ 1377:c8a6a3e6bdeb
(issue178) Show checksums after installer creation
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 15 Jan 2015 11:22:47 +0100 |
parents | 5ebee91c0bb8 |
children |
line wrap: on
line diff
--- a/ui/sslhelp.h Thu Dec 04 14:32:16 2014 +0100 +++ b/ui/sslhelp.h Thu Jan 15 11:22:47 2015 +0100 @@ -32,6 +32,13 @@ */ QByteArray sha256sum(const QByteArray& data); +/** @brief calculate the sha1 of the bytearray data + * + * @param [in] data The data to hash + * @returns the sha1sum of the data + */ +QByteArray sha1sum(const QByteArray& data); + /** @brief Create a RSA signature fur a sha256 hashsum * * @param [in] hash the hash to sign.