--authentication with zero knowledge proof by rnd -- instructions: change target name and hold w+s to send identity challenge if not init then target = "qtest" -- player you want to authenticate with targetidentity = "qtest" -- other player identity - you want to check he is real myidentity = "rnd" -- your identity - you want other to believe to be this shared_secrets = { -- SHARED SECRETS: {name1, name2, secret} {"qtest","rnd","lekT$#J?434ijaakk4fa??_lDFg"}, -- shared secret between qtest and rnd } auth = {}; for i=1,#shared_secrets do local name1 = shared_secrets[i][1]; local name2 = shared_secrets[i][2]; local tname = "" if name1