.
This commit is contained in:
parent
c202b7eb9b
commit
6ed699395f
@ -5,7 +5,7 @@ os.loadAPI("brulijam/lib/aes.lua")
|
||||
|
||||
function createKeyfile()
|
||||
basic.clearDisplay()
|
||||
print("[Networking]")
|
||||
print("[NETWORKING]")
|
||||
print("Please enter a shared secret for networking.")
|
||||
print("This will be used to communicate with other Devices and should be the same on different Turtles and Computers that you want to be connected.")
|
||||
write("Input: ")
|
||||
|
@ -6,7 +6,7 @@ os.loadAPI("brulijam/lib/aes.lua")
|
||||
|
||||
function createKeyfile()
|
||||
basic.clearDisplay()
|
||||
print("[Networking]")
|
||||
print("[NETWORKING]")
|
||||
write("Please enter shared secret for networking: ")
|
||||
local pwHash = hash.digestStr(read("*") .. "salty salt")
|
||||
basic.writeToFile("brulijam/files/networking-key.txt", pwHash)
|
||||
|
Loading…
Reference in New Issue
Block a user