This commit is contained in:
Julian Brammer 2024-06-08 23:01:46 +02:00
parent c202b7eb9b
commit 6ed699395f
2 changed files with 2 additions and 2 deletions

View File

@ -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: ")

View File

@ -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)