Click here to Skip to main content
15,943,233 members
Home / Discussions / C#
   

C#

 
GeneralRe: Strange problems with WaitForSingleObject Windows function Pin
patbob18-Jul-14 7:42
patbob18-Jul-14 7:42 
GeneralRe: Strange problems with WaitForSingleObject Windows function Pin
_Erik_20-Jul-14 21:21
_Erik_20-Jul-14 21:21 
QuestionWeb Service and Cross Mobile Platform Pin
chandu_vrs15-Jul-14 20:58
chandu_vrs15-Jul-14 20:58 
SuggestionRe: Web Service and Cross Mobile Platform Pin
Richard MacCutchan15-Jul-14 22:10
mveRichard MacCutchan15-Jul-14 22:10 
AnswerRe: Web Service and Cross Mobile Platform Pin
Pete O'Hanlon15-Jul-14 22:16
mvePete O'Hanlon15-Jul-14 22:16 
GeneralRe: Web Service and Cross Mobile Platform Pin
chandu_vrs15-Jul-14 22:33
chandu_vrs15-Jul-14 22:33 
QuestionHow should i encrypt the data by using SHA1 Algorithm? Please elaborate it? Pin
Member 1094946315-Jul-14 19:57
Member 1094946315-Jul-14 19:57 
AnswerRe: How should i encrypt the data by using SHA1 Algorithm? Please elaborate it? Pin
OriginalGriff15-Jul-14 20:48
mveOriginalGriff15-Jul-14 20:48 
You don't.
SHA-1 is not an encryption algorithm. It is a hashing algorithm and the two are very, very different: encrypted data can be decrypted to get the original input back, hashed data cannot.

If you use SHA-1 to "encrypt" for files, you will not be able to get the original files back. Ever.

If you are trying to use SHA-1 to secure passwords, then that's fine: hashing is perfect for that. But do not describe it as "encrypting".
See here: Password Storage: How to do it.[^]
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

Questionhow to convert a .txt file to return an array? c# Pin
Member 1094881815-Jul-14 10:48
Member 1094881815-Jul-14 10:48 
AnswerRe: how to convert a .txt file to return an array? c# Pin
Mycroft Holmes15-Jul-14 12:59
professionalMycroft Holmes15-Jul-14 12:59 
AnswerRe: how to convert a .txt file to return an array? c# Pin
Mc_Topaz15-Jul-14 14:45
Mc_Topaz15-Jul-14 14:45 
GeneralRe: how to convert a .txt file to return an array? c# Pin
Rob Philpott15-Jul-14 20:35
Rob Philpott15-Jul-14 20:35 
AnswerRe: how to convert a .txt file to return an array? c# Pin
Rob Philpott15-Jul-14 20:28
Rob Philpott15-Jul-14 20:28 
AnswerRe: how to convert a .txt file to return an array? c# Pin
OriginalGriff15-Jul-14 20:49
mveOriginalGriff15-Jul-14 20:49 
QuestionGet csv outputfil from file.msg Pin
Member 1092249815-Jul-14 5:32
Member 1092249815-Jul-14 5:32 
AnswerRe: Get csv outputfil from file.msg Pin
Rob Philpott15-Jul-14 6:07
Rob Philpott15-Jul-14 6:07 
GeneralRe: Get csv outputfil from file.msg Pin
Member 1092249815-Jul-14 12:09
Member 1092249815-Jul-14 12:09 
GeneralRe: Get csv outputfil from file.msg Pin
Rob Philpott15-Jul-14 20:30
Rob Philpott15-Jul-14 20:30 
GeneralRe: Get csv outputfil from file.msg Pin
Member 1092249821-Jul-14 23:04
Member 1092249821-Jul-14 23:04 
QuestionINotifyPropertyChanged binding label problem during update in function Pin
massisoda15-Jul-14 4:42
massisoda15-Jul-14 4:42 
AnswerRe: INotifyPropertyChanged binding label problem during update in function Pin
Pete O'Hanlon15-Jul-14 5:18
mvePete O'Hanlon15-Jul-14 5:18 
GeneralRe: INotifyPropertyChanged binding label problem during update in function Pin
massisoda15-Jul-14 5:21
massisoda15-Jul-14 5:21 
GeneralRe: INotifyPropertyChanged binding label problem during update in function Pin
Pete O'Hanlon15-Jul-14 5:24
mvePete O'Hanlon15-Jul-14 5:24 
GeneralRe: INotifyPropertyChanged binding label problem during update in function Pin
massisoda16-Jul-14 1:48
massisoda16-Jul-14 1:48 
GeneralRe: INotifyPropertyChanged binding label problem during update in function Pin
Pete O'Hanlon16-Jul-14 1:53
mvePete O'Hanlon16-Jul-14 1:53 

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.