.
This commit is contained in:
parent
74f4b92b40
commit
f6d84cd091
@ -5,6 +5,7 @@ os.loadAPI("brulijam/lib/aes.lua")
|
|||||||
|
|
||||||
function createKeyfile()
|
function createKeyfile()
|
||||||
basic.clearDisplay()
|
basic.clearDisplay()
|
||||||
|
print("[Networking]")
|
||||||
write("Please enter shared secret for networking: ")
|
write("Please enter shared secret for networking: ")
|
||||||
local pwHash = hash.digestStr(read("*") .. "salty salt")
|
local pwHash = hash.digestStr(read("*") .. "salty salt")
|
||||||
basic.writeToFile("brulijam/files/networking-key.txt", pwHash)
|
basic.writeToFile("brulijam/files/networking-key.txt", pwHash)
|
||||||
|
Loading…
Reference in New Issue
Block a user