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,
107 static std::vector<unsigned char> calculateHash(
108 const rtl::OUString& rPassword,
109 const std::vector<unsigned char>& rSaltValue,
110 sal_uInt32 nSpinCount,
111 IterCount eIterCount,
119 #endif // INCLUDED_COMPHELPER_HASH_HXX
std::unique_ptr< HashImpl > mpImpl
const sal_uInt32 SHA512_HASH_LENGTH
const sal_uInt32 SHA1_HASH_LENGTH
const sal_uInt32 SHA256_HASH_LENGTH
double getLength(const B2DPolygon &rCandidate)
#define COMPHELPER_DLLPUBLIC
const sal_uInt32 MD5_HASH_LENGTH