How do I encode a username and password for a log in screen?
This is all in app lab
Hi @prof.daniel.lazar - we would strongly encourage you not to use usernames & passwords in App Lab if you are creating an app for external use. All data on public projects can be viewed, and is therefore unsecure.
However, if you are doing this as a learning experience and aren’t planning on storing actual people’s passwords, take a look at
getKeyValue(), both found in the data drawer in the toolbox.
I tried using them, but I don’t know how to.
When you say you want to encode the username and password, did you mean you’d simply like to store them to retrieve and compare later? Or did you want to somehow encrypt/hash/obscure the data so it’s not simply stored as plaintext?
I am trying to encrypt my passwords. Can you give my more info how to.