From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-06-2008 12:03 AM
10-06-2008 12:18 AM - edited 10-06-2008 12:20 AM
Hi,
Its very simple task first list the inputs you wanted may be a string control to enter the User Name and one more String Control to enter the Password and with 2 boolean buttons to Enter ,Exit. Create 1 default user name and password, store it in a datalog file read it everytime in the backend. Check with current username and password enterd, do the authentication .Just try to do backend code with these inputs.
Hope this may help you.
10-06-2008 02:14 AM
10-06-2008 02:29 AM
one fairly simple but not very secure option can be that you device some formula on your own to modify the characters and you can always use reverse formula to get password.
You can also consider MD5 Algorithm for encryption, but you cant actually decrypt it. i.e lets say you password is "pass" then MD5 of this will be (in HEX) "1A1D C91C 9073 25C6 9271 DDF0 C944 BC72 " now when user logs in and enters his password you can encrypt it using MD5 and compare it with original encrypted string. in case both strings are equal then user has entered correct password.
to make this system more powerful you can add your own fixed string before encryption e.g. encrypt "passParthipan" if user has entered "pass" as password.
hope this helps
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
10-06-2008 02:37 AM
Hello.. 🙂
I don't know much about encrypt & decrypt through LabVIEW... 😞 But do you want a single user and password or 'n' no. of users....?
10-06-2008 02:54 AM
one more thing, you can fin MD5 VI in OpenG toolkit
hi rupali
in my opinion one or n users doesnt make much of a difference.
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
10-06-2008 02:58 AM
Hello... Tushar... 🙂
I asked that question because I'm using 'n' users in my login & password... Is it possible to encrypt the password LabVIEW 7.1...?
10-06-2008 03:21 AM
10-06-2008 04:01 AM
10-06-2008 04:07 AM