Click here to Skip to main content
16,008,183 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionJAbber Pin
Tauseef A23-Nov-06 21:48
Tauseef A23-Nov-06 21:48 
AnswerRe: JAbber Pin
ednrgc27-Nov-06 3:50
ednrgc27-Nov-06 3:50 
QuestionText box shadowing Pin
~~~Johnny~~~23-Nov-06 12:04
~~~Johnny~~~23-Nov-06 12:04 
AnswerRe: Text box shadowing Pin
Thomas Stockwell23-Nov-06 15:00
professionalThomas Stockwell23-Nov-06 15:00 
AnswerRe: Text box shadowing Pin
Leah_Garrett23-Nov-06 15:13
Leah_Garrett23-Nov-06 15:13 
GeneralRe: Text box shadowing Pin
~~~Johnny~~~23-Nov-06 15:38
~~~Johnny~~~23-Nov-06 15:38 
QuestionEncryption Pin
alexfromto23-Nov-06 7:07
alexfromto23-Nov-06 7:07 
AnswerRe: Encryption Pin
Guffa23-Nov-06 8:34
Guffa23-Nov-06 8:34 
If you create a new key for each time you encrypt a password, you have to store the key along with the encrypted password. Then it's not really any point in encrypting it, is there?

A common way of handling passwords is to not store them at all, but only store a hash code of the password. That way noone can ever decrypt the password. When you need to check the password, you get the hash code of the entered password and compare it to the stored hash code.

The GetHashCode method of the string class is not suitable for long term storage, though. You have to use a consistently defined algorithm, like for example MD5.


---
b { font-weight: normal; }

GeneralRe: Encryption Pin
alexfromto23-Nov-06 9:14
alexfromto23-Nov-06 9:14 
AnswerRe: Encryption Pin
Ashley van Gerven23-Nov-06 9:03
Ashley van Gerven23-Nov-06 9:03 
GeneralRe: Encryption Pin
alexfromto23-Nov-06 9:16
alexfromto23-Nov-06 9:16 
GeneralRe: Encryption Pin
Ashley van Gerven23-Nov-06 9:48
Ashley van Gerven23-Nov-06 9:48 
GeneralRe: Encryption Pin
alexfromto23-Nov-06 10:10
alexfromto23-Nov-06 10:10 
QuestionNetwork Sniffer & Connection Analyzer Pin
hazarian23-Nov-06 6:05
hazarian23-Nov-06 6:05 
AnswerRe: Network Sniffer & Connection Analyzer Pin
Paul Conrad23-Nov-06 17:34
professionalPaul Conrad23-Nov-06 17:34 
QuestionRe: Network Sniffer & Connection Analyzer Pin
hazarian24-Nov-06 5:00
hazarian24-Nov-06 5:00 
QuestioncomboBox.SelectedItem/Index Pin
T0D023-Nov-06 3:50
T0D023-Nov-06 3:50 
AnswerRe: comboBox.SelectedItem/Index Pin
NutSoft23-Nov-06 5:21
NutSoft23-Nov-06 5:21 
GeneralRe: comboBox.SelectedItem/Index Pin
T0D023-Nov-06 5:47
T0D023-Nov-06 5:47 
GeneralRe: comboBox.SelectedItem/Index Pin
NutSoft23-Nov-06 23:05
NutSoft23-Nov-06 23:05 
QuestionData binding to multiple tables [modified] Pin
Wolfgang G. Schmidt23-Nov-06 3:11
Wolfgang G. Schmidt23-Nov-06 3:11 
AnswerRe: Data binding to multiple tables Pin
Paul Conrad26-Dec-06 17:05
professionalPaul Conrad26-Dec-06 17:05 
GeneralRe: Data binding to multiple tables Pin
Wolfgang G. Schmidt2-Jan-07 23:52
Wolfgang G. Schmidt2-Jan-07 23:52 
QuestionBatch File Pin
Tauseef A23-Nov-06 0:21
Tauseef A23-Nov-06 0:21 
AnswerRe: Batch File Pin
Luc Pattyn23-Nov-06 2:41
sitebuilderLuc Pattyn23-Nov-06 2:41 

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.