Software /
code /
prosody
Diff
teal-src/util/hashes.d.tl @ 11459:86904555bffc
teal: Use new integer support in Teal 0.13.0
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 Mar 2021 23:16:41 +0100 |
parent | 11432:113f3912c7cb |
child | 11576:fbd1ebd86369 |
line wrap: on
line diff
--- a/teal-src/util/hashes.d.tl Thu Mar 18 13:07:10 2021 +0100 +++ b/teal-src/util/hashes.d.tl Thu Mar 18 23:16:41 2021 +0100 @@ -1,6 +1,6 @@ local type hash = function (msg : string, hex : boolean) : string local type hmac = function (key : string, msg : string, hex : boolean) : string -local type kdf = function (pass : string, salt : string, i : number) : string +local type kdf = function (pass : string, salt : string, i : integer) : string local record lib sha1 : hash