Comparison

util/hmac.lua @ 10411:db2a06b9ff98

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 16 Nov 2019 16:52:31 +0100
parent 9959:45caa32992b6
child 12561:adfb46a3e8a7
comparison
equal deleted inserted replaced
10410:659b577f280c 10411:db2a06b9ff98
8 8
9 -- COMPAT: Only for external pre-0.9 modules 9 -- COMPAT: Only for external pre-0.9 modules
10 10
11 local hashes = require "util.hashes" 11 local hashes = require "util.hashes"
12 12
13 return { md5 = hashes.hmac_md5, 13 return {
14 sha1 = hashes.hmac_sha1, 14 md5 = hashes.hmac_md5,
15 sha256 = hashes.hmac_sha256 }; 15 sha1 = hashes.hmac_sha1,
16 sha256 = hashes.hmac_sha256,
17 sha512 = hashes.hmac_sha512,
18 };