From 54866b1f474036bdb46ad0d84d0027c2ef8873e1 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Sat, 28 Jan 2023 17:26:35 +0100 Subject: [PATCH] typo --- functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.lua b/functions.lua index ccb57fe..ed0abc1 100644 --- a/functions.lua +++ b/functions.lua @@ -97,7 +97,7 @@ function otp.hmac(key, message) local hash_sum_1 = minetest.sha1(first_msg, true) assert(#hash_sum_1 == 20) - -- concat first message to secons + -- concat first message to second local second_msg = o_key_pad for i=1,#hash_sum_1 do second_msg = second_msg .. string.char(string.byte(hash_sum_1, i))