Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local encryptionPassword = nil
- -- Function to set the encryption password
- local function setPassword(password)
- encryptionPassword = password
- end
- -- Prompt the user to set a password
- local function promptForPassword()
- term.write("Set encryption password: ")
- local password = read("*") -- Hide input
- setPassword(password)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement