Comparison

util/hmac.lua @ 10061:5c71693c8345

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 08 Jul 2019 02:44:32 +0200
parent 9959:45caa32992b6
child 12561:adfb46a3e8a7
comparison
equal deleted inserted replaced
10060:7a36b7ac309b 10061:5c71693c8345
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 };