Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.Diagnostics question Pin
Vasudevan Deepak Kumar3-Feb-03 21:51
Vasudevan Deepak Kumar3-Feb-03 21:51 
GeneralRe: System.Diagnostics question Pin
jtmtv183-Feb-03 21:56
jtmtv183-Feb-03 21:56 
QuestionHow can I find Server List? Pin
bania3-Feb-03 19:53
bania3-Feb-03 19:53 
AnswerRe: How can I find Server List? Pin
Vasudevan Deepak Kumar3-Feb-03 22:03
Vasudevan Deepak Kumar3-Feb-03 22:03 
AnswerRe: How can I find Server List? Pin
Vasudevan Deepak Kumar3-Feb-03 22:06
Vasudevan Deepak Kumar3-Feb-03 22:06 
AnswerRe: How can I find Server List? Pin
Mazdak3-Feb-03 23:36
Mazdak3-Feb-03 23:36 
GeneralAnother Problem.... Pin
bania4-Feb-03 0:10
bania4-Feb-03 0:10 
GeneralGet my password from binary password Pin
Mazdak3-Feb-03 9:23
Mazdak3-Feb-03 9:23 
I use this function to encrypt my password to store them in database:
UnicodeEncoding encoding = new UnicodeEncoding();
byte[] hashBytes = encoding.GetBytes( mystringpassword );

// compute SHA-1 hash.
SHA1 sha1 = new SHA1CryptoServiceProvider();
byte[] cryptPassword = sha1.ComputeHash ( hashBytes );

return cryptPassword;


now how can I get string format from binary password that I stored in database?

Mazy

"And the carpet needs a haircut, and the spotlight looks like a prison break
And the telephone's out of cigarettes, and the balcony is on the make
And the piano has been drinking, the piano has been drinking...not me...not me
-Tom Waits

GeneralRe: Get my password from binary password Pin
Furty3-Feb-03 16:11
Furty3-Feb-03 16:11 
GeneralRe: Get my password from binary password Pin
Mazdak3-Feb-03 19:31
Mazdak3-Feb-03 19:31 
GeneralRe: Get my password from binary password Pin
Mazdak3-Feb-03 19:46
Mazdak3-Feb-03 19:46 
GeneralRe: Get my password from binary password Pin
Furty3-Feb-03 22:00
Furty3-Feb-03 22:00 
GeneralRe: Get my password from binary password Pin
Mazdak3-Feb-03 23:36
Mazdak3-Feb-03 23:36 
GeneralRe: Get my password from binary password Pin
Furty4-Feb-03 10:23
Furty4-Feb-03 10:23 
GeneralRe: Get my password from binary password Pin
Furty4-Feb-03 10:37
Furty4-Feb-03 10:37 
GeneralRe: Get my password from binary password Pin
David M. Kean4-Feb-03 10:38
David M. Kean4-Feb-03 10:38 
GeneralRe: Get my password from binary password Pin
Mazdak4-Feb-03 11:27
Mazdak4-Feb-03 11:27 
GeneralRe: Get my password from binary password Pin
David M. Kean4-Feb-03 13:47
David M. Kean4-Feb-03 13:47 
GeneralItterating through the Collection Pin
Nnamdi Onyeyiri3-Feb-03 6:49
Nnamdi Onyeyiri3-Feb-03 6:49 
GeneralRe: Itterating through the Collection Pin
Furty3-Feb-03 16:14
Furty3-Feb-03 16:14 
GeneralRe: Itterating through the Collection Pin
Nnamdi Onyeyiri4-Feb-03 12:01
Nnamdi Onyeyiri4-Feb-03 12:01 
GeneralSyntax Highlighting Editor Pin
CSharpDavid3-Feb-03 5:21
CSharpDavid3-Feb-03 5:21 
GeneralRe: Syntax Highlighting Editor Pin
leppie3-Feb-03 6:17
leppie3-Feb-03 6:17 
GeneralRe: Syntax Highlighting Editor Pin
CSharpDavid3-Feb-03 7:04
CSharpDavid3-Feb-03 7:04 
GeneralRe: Syntax Highlighting Editor Pin
leppie3-Feb-03 8:08
leppie3-Feb-03 8:08 

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.