aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_hashes_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.hashes: Add SHA3 bindingsKim Alvefur2020-09-101-0/+15
|
* util.hex: Deprecate to/from in favour of encode/decode, for consistency!Matthew Wild2022-03-041-6/+6
|
* util.hashes: Fix output length of PBKDF2-HMAC-SHA256Kim Alvefur2020-04-221-0/+18
| | | | Somehow it got SHA1's 20 byte output instead of the proper 32 = 256/8
* util.hashes: Use generic name of PBKDF2-HMAC-SHA1 function in testsKim Alvefur2020-04-221-5/+5
|
* Backed out changeset 61bc5c52c941Kim Alvefur2019-04-211-16/+0
| | | | luaL_buffinitsize is only available in Lua 5.2+
* util.hashes: Allow specifying output key lengthKim Alvefur2019-04-201-0/+16
| | | | This is not needed for SCRAM but PBKDF2 takes this argument.
* util.hashes: Add test vectors from RFC 6070 for PBKDF2 (aka SCRAM Hi())Kim Alvefur2019-04-191-0/+37
Number 4 is disabled by default beacuse of how long time it takes