SHARE
TWEET

krist.lua

a guest Mar 24th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. os.loadAPI("sha")
  2.  
  3. write("Enter wallet password: ")
  4. local pw1 = read("*")
  5. write("Confirm password: ")
  6. local pw2 = read("*")
  7. assert(pw1 == pw2, "Passwords do not match")
  8. local key = sha.digest("KRISTWALLET" .. pw1):toHex() .. "-000"
  9. local f = fs.open("/privatekey", "w")
  10. f.write(key)
  11. f.close()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top