Advertisement
DOGGYWOOF

Untitled

Oct 5th, 2024
5
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. local encryptionPassword = nil
  2.  
  3. -- Function to set the encryption password
  4. local function setPassword(password)
  5. encryptionPassword = password
  6. end
  7.  
  8. -- Prompt the user to set a password
  9. local function promptForPassword()
  10. term.write("Set encryption password: ")
  11. local password = read("*") -- Hide input
  12. setPassword(password)
  13. end
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement