10#ifndef INCLUDED_COMPHELPER_HASH_HXX
11#define INCLUDED_COMPHELPER_HASH_HXX
14#include <rtl/digest.h>
57 void update(
const unsigned char* pInput,
size_t length);
59 std::vector<unsigned char>
finalize();
61 static std::vector<unsigned char> calculateHash(
const unsigned char* pInput,
size_t length,
HashType eType);
92 static std::vector<unsigned char> calculateHash(
93 const unsigned char* pInput,
size_t nLength,
94 const unsigned char* pSalt,
size_t nSaltLen,
95 sal_uInt32 nSpinCount,
108 const rtl::OUString& rPassword,
109 const std::vector<unsigned char>& rSaltValue,
110 sal_uInt32 nSpinCount,
std::unique_ptr< HashImpl > mpImpl
static std::vector< unsigned char > calculateHash(const rtl::OUString &rPassword, const std::vector< unsigned char > &rSaltValue, sal_uInt32 nSpinCount, IterCount eIterCount, HashType eType)
Convenience function to calculate a salted hash with iterations.
#define COMPHELPER_DLLPUBLIC
double getLength(const B2DPolygon &rCandidate)
const sal_uInt32 SHA256_HASH_LENGTH
const sal_uInt32 SHA512_HASH_LENGTH
const sal_uInt32 SHA1_HASH_LENGTH
const sal_uInt32 MD5_HASH_LENGTH