LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i have to creat a password login ,but the password should be saved in .ini fie in encrypted form

i want to make a sbvi . while running this subvi a dialog box open. enter the password
the password is saved  in .ini file and is in encrypted form.
there is other option in dailog box that modify password
in tht
 
old password
new password
confrim new password
 
this password also stored in the same .ini file in encypted form.
0 Kudos
Message 1 of 4
(3,216 Views)
Hi ezeemon,

either you write your own encryption vi to hide the password in the ini file or you may look for "blowfish" here in the forum...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,208 Views)

Hi ezeemon,

an other way could be to generate a hash value of your password and write this into the ini file. The next time you will check the password you genereate the hash of the input and compare this with the hash from the ini file.

Mike

0 Kudos
Message 3 of 4
(3,199 Views)
There is an OpenG vi 'MD5 Digest' that takes a string input and returns a hash value.

Matt
0 Kudos
Message 4 of 4
(3,179 Views)