Delphi and Kylix

Moderators: pritaeas
Number of threads: 7244
Number of posts: 19051

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
encript passwords in registry Posted by Development on 19 Feb 2004 at 8:38 AM
hi all can sumone help me out I am trying to encript passwords in a registry and I can not find any help files or examples on how to do this

my reg input code

rIniFile.WriteString('Users', 'Name', txtNick.Text);
rIniFile.WriteString('Users', 'Password', txtPass.Text); - ( trying to encript this sestion so it dont show password in text in the registry )


thanks for reading this :)
Slewis
Report
Re: encript passwords in registry Posted by Manning on 19 Feb 2004 at 9:08 AM
: hi all can sumone help me out I am trying to encript passwords in a registry and I can not find any help files or examples on how to do this
:
: my reg input code
:
:
: rIniFile.WriteString('Users', 'Name', txtNick.Text);
: rIniFile.WriteString('Users', 'Password', txtPass.Text); - ( trying to encript this sestion so it dont show password in text in the registry )
: 


Search on Google and you should find any number of encryption routines. Then you do the exact same thing as above, except pass MyEncFunction(txtPass.Text) instead.
Report
Re: Be carefull of #0 characters Posted by Masterijn on 20 Feb 2004 at 10:37 AM
: : hi all can sumone help me out I am trying to encript passwords in a registry and I can not find any help files or examples on how to do this
: :
: : my reg input code
: :
: :
: : rIniFile.WriteString('Users', 'Name', txtNick.Text);
: : rIniFile.WriteString('Users', 'Password', txtPass.Text); - ( trying to encript this sestion so it dont show password in text in the registry )
: : 

:
: Search on Google and you should find any number of encryption routines. Then you do the exact same thing as above, except pass MyEncFunction(txtPass.Text) instead.
:
Some encoding functions can create results with #0 characters inside. Thoose strings are truncated when written to the registry as a string. So be carefull!

Report
Re: encript passwords in registry Posted by adibichea on 21 Feb 2004 at 1:46 PM
You can encript password and after write password in registry as hex numbers!
Encript code it's secret so don't use public encriptions. Make one for you and use it!
You can try to encript the text by the Nick_Name and never forgot to add CRC in encription password of nick_name and password. (i think that). It's subiective;



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.