mirror of
https://git.phreedom.club/localhost_frssoft/fediauth.git
synced 2024-11-04 23:43:24 +00:00
typo
This commit is contained in:
parent
831ba7772e
commit
54866b1f47
|
@ -97,7 +97,7 @@ function otp.hmac(key, message)
|
||||||
local hash_sum_1 = minetest.sha1(first_msg, true)
|
local hash_sum_1 = minetest.sha1(first_msg, true)
|
||||||
assert(#hash_sum_1 == 20)
|
assert(#hash_sum_1 == 20)
|
||||||
|
|
||||||
-- concat first message to secons
|
-- concat first message to second
|
||||||
local second_msg = o_key_pad
|
local second_msg = o_key_pad
|
||||||
for i=1,#hash_sum_1 do
|
for i=1,#hash_sum_1 do
|
||||||
second_msg = second_msg .. string.char(string.byte(hash_sum_1, i))
|
second_msg = second_msg .. string.char(string.byte(hash_sum_1, i))
|
||||||
|
|
Loading…
Reference in a new issue