diff options
author | Eike Rathke <erack@redhat.com> | 2018-02-24 11:45:34 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-02-24 11:47:09 +0100 |
commit | 89182507aaf336d16ba1e89305bc2ea3b1e6949f (patch) | |
tree | cb3a96d942e0c2260d78372a889562817b9f08bf /comphelper/qa | |
parent | 4446ac904ebaa0b2ba0fed17f2f8fd39d3a3c7fb (diff) |
Hash Base64, Sequence and cleansing, tdf#104250 prep
Change-Id: I58d48b8caa780138b8431bec9db20c9d0e9abce7
Diffstat (limited to 'comphelper/qa')
-rw-r--r-- | comphelper/qa/unit/test_hash.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/qa/unit/test_hash.cxx b/comphelper/qa/unit/test_hash.cxx index beec2c537cf4..e15b906c190f 100644 --- a/comphelper/qa/unit/test_hash.cxx +++ b/comphelper/qa/unit/test_hash.cxx @@ -111,8 +111,8 @@ void TestHash::testSHA512_saltspin() const OUString aPass("pwd"); const OUString aAlgo("SHA-512"); const OUString aSalt("876MLoKTq42+/DLp415iZQ=="); - const OUString aHash = comphelper::Hash::calculateHash( aPass, aSalt, 100000, aAlgo); - OUString aStr("5l3mgNHXpWiFaBPv5Yso1Xd/UifWvQWmlDnl/hsCYbFT2sJCzorjRmBCQ/3qeDu6Q/4+GIE8a1DsdaTwYh1q2g=="); + const OUString aHash = comphelper::Hash::calculateHashBase64( aPass, aSalt, 100000, aAlgo); + const OUString aStr("5l3mgNHXpWiFaBPv5Yso1Xd/UifWvQWmlDnl/hsCYbFT2sJCzorjRmBCQ/3qeDu6Q/4+GIE8a1DsdaTwYh1q2g=="); CPPUNIT_ASSERT_EQUAL(aStr, aHash); } |