Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NETCF .NET

Hi,

I have been looking into implementing SHA-2 Hashing into my application, but I am unsure if it is available in the .NET Framework. I have read conflicting info on the Net; some says that the SHA256, 384 and 512 are different bit strenght versions of SHA-1 and some say SHA-2. If not does anyone have a C# implementation of SHA-2?

Thanx!

Dave Shaw

History admires the wise, but elevates the brave. - Edmund Morris
Posted 2-Sep-05 13:13pm
Dave Shaw1.1K
Edited 1-Feb-11 9:30am
Yusuf39.8K
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Dave,

Have you read the article Good Bye MD5[^] by ediazc here on Code Project? It may point you in the direction you want to go.

Paul
  Permalink  
v2
Comments
Paul Conrad at 1-Feb-11 16:44pm
   
Thank you for the modification, Henry. It looks as if the article was moved since Sept 2005.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

SHA512 and SHA256 are two variants of the SHA-2 algorithm.
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 435
1 Sergey Alexandrovich Kryukov 200
2 Yogesh Kumar Tyagi 180
3 Richard Deeming 180
4 RyanDev 115
0 Sergey Alexandrovich Kryukov 6,405
1 OriginalGriff 5,798
2 CPallini 2,473
3 Richard MacCutchan 1,647
4 Abhinav S 1,530


Advertise | Privacy | Mobile
Web01 | 2.8.140821.2 | Last Updated 1 Feb 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100