Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is the difference between hashing or encryption a data Pin
Gerry Schmitz30-Mar-17 9:05
mveGerry Schmitz30-Mar-17 9:05 
GeneralRe: What is the difference between hashing or encryption a data Pin
Richard Deeming30-Mar-17 9:12
mveRichard Deeming30-Mar-17 9:12 
GeneralRe: What is the difference between hashing or encryption a data Pin
Gerry Schmitz30-Mar-17 9:25
mveGerry Schmitz30-Mar-17 9:25 
GeneralRe: What is the difference between hashing or encryption a data Pin
ZurdoDev30-Mar-17 10:08
professionalZurdoDev30-Mar-17 10:08 
GeneralRe: What is the difference between hashing or encryption a data Pin
Gerry Schmitz30-Mar-17 12:00
mveGerry Schmitz30-Mar-17 12:00 
GeneralRe: What is the difference between hashing or encryption a data Pin
Richard Deeming31-Mar-17 1:04
mveRichard Deeming31-Mar-17 1:04 
GeneralRe: What is the difference between hashing or encryption a data Pin
Gerry Schmitz31-Mar-17 5:56
mveGerry Schmitz31-Mar-17 5:56 
GeneralRe: What is the difference between hashing or encryption a data Pin
OriginalGriff30-Mar-17 8:52
mveOriginalGriff30-Mar-17 8:52 
Gerry Schmitz wrote:
You want to play with hashing algorithms for "password security"? Not on my watch.

The hashing algorithms used for passwords are considerably more secure than any encryption: SHA-512 for example generates a 512 bit hash value from the (hopefully salted) user password input. This is compared with the stored hash - so the "clear text" password is never transfered out of the authenticating system - and a match confirms the input. This gives you in theory a 1 : 1.34078079e154 chance of a collision or "false positive" assuming that the hashing algorithm gives no weight to any particular range of output values. You cannot regenerate the original input from the hashed value.

Encrypted password on the other hand are seriously insecure: the decryption key has to be available to the "check the password" code and that means that it's effectively stored with the encrypted data.

Please, do tell us which security systems you have implemented encryption for, so we can avoid them or ensure that we only ever use a "one-time" password (which I do anyway, no two of my logins have the same password, and I use an encrypted password store to hold them - the password to that is only ever stored in my head...)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: What is the difference between hashing or encryption a data Pin
Gerry Schmitz30-Mar-17 9:04
mveGerry Schmitz30-Mar-17 9:04 
GeneralRe: What is the difference between hashing or encryption a data Pin
Richard Deeming30-Mar-17 9:10
mveRichard Deeming30-Mar-17 9:10 
GeneralRe: What is the difference between hashing or encryption a data Pin
Gerry Schmitz30-Mar-17 9:22
mveGerry Schmitz30-Mar-17 9:22 
GeneralRe: What is the difference between hashing or encryption a data Pin
OriginalGriff30-Mar-17 8:53
mveOriginalGriff30-Mar-17 8:53 
AnswerRe: What is the difference between hashing or encryption a data Pin
Patrice T1-Apr-17 10:34
mvePatrice T1-Apr-17 10:34 
QuestionScheduled Services Architecture - Prototype Pin
Kevin Marois29-Mar-17 12:08
professionalKevin Marois29-Mar-17 12:08 
AnswerRe: Scheduled Services Architecture - Prototype Pin
Bernhard Hiller29-Mar-17 21:41
Bernhard Hiller29-Mar-17 21:41 
GeneralRe: Scheduled Services Architecture - Prototype Pin
Kevin Marois30-Mar-17 4:30
professionalKevin Marois30-Mar-17 4:30 
AnswerRe: Scheduled Services Architecture - Prototype Pin
Nathan Minier30-Mar-17 1:30
professionalNathan Minier30-Mar-17 1:30 
AnswerRe: Scheduled Services Architecture - Prototype Pin
Pete O'Hanlon3-Apr-17 2:26
mvePete O'Hanlon3-Apr-17 2:26 
GeneralRe: Scheduled Services Architecture - Prototype Pin
Kevin Marois3-Apr-17 5:38
professionalKevin Marois3-Apr-17 5:38 
QuestionVisual C# Frameworks Pin
zequion28-Mar-17 20:43
professionalzequion28-Mar-17 20:43 
AnswerRe: Visual Studio 2017 Defective Editor in Design Mode Pin
Eddy Vluggen28-Mar-17 22:54
professionalEddy Vluggen28-Mar-17 22:54 
AnswerRe: Visual C# Frameworks Pin
Kevin Marois29-Mar-17 4:18
professionalKevin Marois29-Mar-17 4:18 
QuestionScheduled Services Architecture Pin
Kevin Marois28-Mar-17 7:53
professionalKevin Marois28-Mar-17 7:53 
AnswerRe: Scheduled Services Architecture Pin
Bernhard Hiller28-Mar-17 21:13
Bernhard Hiller28-Mar-17 21:13 
GeneralRe: Scheduled Services Architecture Pin
Kevin Marois29-Mar-17 4:15
professionalKevin Marois29-Mar-17 4:15 

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.