Matthew Wild
|
ab835fed13
|
util.hex: Deprecate to/from in favour of encode/decode, for consistency!
|
2022-03-04 15:22:45 +00:00 |
|
Kim Alvefur
|
701c5f4811
|
util.hashes: Fix output length of PBKDF2-HMAC-SHA256
Somehow it got SHA1's 20 byte output instead of the proper 32 = 256/8
|
2020-04-22 21:38:36 +02:00 |
|
Kim Alvefur
|
16c54b1705
|
util.hashes: Use generic name of PBKDF2-HMAC-SHA1 function in tests
|
2020-04-22 21:35:33 +02:00 |
|
Kim Alvefur
|
90d4d6bda8
|
Backed out changeset 61bc5c52c941
luaL_buffinitsize is only available in Lua 5.2+
|
2019-04-21 00:59:36 +02:00 |
|
Kim Alvefur
|
165ee3a5ef
|
util.hashes: Allow specifying output key length
This is not needed for SCRAM but PBKDF2 takes this argument.
|
2019-04-20 15:11:04 +02:00 |
|
Kim Alvefur
|
43bb3d5756
|
util.hashes: Add test vectors from RFC 6070 for PBKDF2 (aka SCRAM Hi())
Number 4 is disabled by default beacuse of how long time it takes
|
2019-04-19 14:12:28 +02:00 |
|