Click here to Skip to main content
16,021,459 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi my friends.
i create a key and send a value to that.
VB
regVersion = Registry.CurrentUser.CreateSubKey("Software\\pass", False)
      regVersion.SetValue("password", "123456")


how can i encrypt this value?
i mean, if other user see this code in registery , they don,t understand that value is "123456".
Posted
Comments
[no name] 26-Sep-14 12:31pm    
It is also hard to understand the question. If you save something Password related in registry, then do not save a crypted Password. Instead save a hash value calculated for your pwd.
Regards

1 solution

See Griff's article: "Password Storage: How to do it"[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900