Click here to Skip to main content
15,890,506 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to get the previous selected index of a tab? Pin
James Gupta24-Jan-06 9:37
professionalJames Gupta24-Jan-06 9:37 
GeneralRe: How to get the previous selected index of a tab? Pin
James Gupta24-Jan-06 9:46
professionalJames Gupta24-Jan-06 9:46 
GeneralRe: How to get the previous selected index of a tab? Pin
leppie24-Jan-06 11:59
leppie24-Jan-06 11:59 
QuestionPassword Encryption Pin
zaboboa24-Jan-06 4:45
zaboboa24-Jan-06 4:45 
AnswerRe: Password Encryption Pin
Judah Gabriel Himango24-Jan-06 4:55
sponsorJudah Gabriel Himango24-Jan-06 4:55 
GeneralRe: Password Encryption Pin
zaboboa24-Jan-06 5:03
zaboboa24-Jan-06 5:03 
GeneralRe: Password Encryption Pin
Judah Gabriel Himango24-Jan-06 7:56
sponsorJudah Gabriel Himango24-Jan-06 7:56 
AnswerRe: Password Encryption Pin
Colin Angus Mackay24-Jan-06 4:56
Colin Angus Mackay24-Jan-06 4:56 
zaboboa wrote:
I would like to store the encrypted password in the Windows Registry, and in my application I want to retrieve the password and decrypt it for further use.


So where do you want to store the encryption key in order to decrypt it?

If this is a user password that the user must type in to gain access to something, then using a hashing algorithm is a much better idea. Hashing is a type of one way encryption (you can encrypt, but you cannot decrypt). So when the user types in their password it is also hashed and the two hash values are compared. The bonus is that you don't need to figure out where to store any keys in order to decrypt the data (because you can't decrypt the data)

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

GeneralRe: Password Encryption Pin
zaboboa24-Jan-06 5:01
zaboboa24-Jan-06 5:01 
QuestionHow to print a file? Pin
empty.at24-Jan-06 4:44
empty.at24-Jan-06 4:44 
AnswerRe: How to print a file? Pin
Judah Gabriel Himango24-Jan-06 4:57
sponsorJudah Gabriel Himango24-Jan-06 4:57 
Question.net 2.0 Pin
fmardani24-Jan-06 4:41
fmardani24-Jan-06 4:41 
AnswerRe: .net 2.0 Pin
Judah Gabriel Himango24-Jan-06 4:53
sponsorJudah Gabriel Himango24-Jan-06 4:53 
Questionparsing a string Pin
Camron24-Jan-06 4:37
Camron24-Jan-06 4:37 
AnswerRe: parsing a string Pin
Darryl Borden24-Jan-06 4:46
Darryl Borden24-Jan-06 4:46 
AnswerRe: parsing a string Pin
LighthouseJ24-Jan-06 9:14
LighthouseJ24-Jan-06 9:14 
QuestionWhere is always show selection in Listviews? Pin
ByStorm Software24-Jan-06 4:11
ByStorm Software24-Jan-06 4:11 
AnswerRe: Where is always show selection in Listviews? Pin
Joel Lucsy24-Jan-06 4:25
Joel Lucsy24-Jan-06 4:25 
GeneralRe: Where is always show selection in Listviews? Pin
ByStorm Software24-Jan-06 4:45
ByStorm Software24-Jan-06 4:45 
QuestionTitleBar Pin
Sabry190524-Jan-06 3:59
Sabry190524-Jan-06 3:59 
AnswerRe: TitleBar Pin
tarasn24-Jan-06 5:26
tarasn24-Jan-06 5:26 
QuestionSocket Does'nt Accept New Connections After some times Pin
Zeeshan Gulzar24-Jan-06 3:41
Zeeshan Gulzar24-Jan-06 3:41 
AnswerRe: Socket Does'nt Accept New Connections After some times Pin
Le centriste24-Jan-06 3:56
Le centriste24-Jan-06 3:56 
QuestionFTPWebRequest with EnableSsl Pin
Sweetrpea24-Jan-06 3:30
Sweetrpea24-Jan-06 3:30 
QuestionconfigurationManager Pin
fmardani24-Jan-06 3:16
fmardani24-Jan-06 3:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.