17

I know that implementations exist for SHA-1 and SHA-256 in System.Security.Cryptography.

Is there anything built in that can compute CRC hashes?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Pugz
  • 939
  • 3
  • 11
  • 25
  • http://msdn.microsoft.com/en-us/library/ff385753(v=office.12).aspx – Robert Harvey Aug 11 '14 at 19:14
  • 4
    I'm aware of that post. I googled it FIRST, not like a jackwad who posts things without first looking. That wasn't my question. Is there certainly not a built-in facility or is it possible that he is a human being and missed something (like we all do sometimes). – Pugz Aug 11 '14 at 19:15
  • Seriously, who is downvoting my question? This is crap. It's a totally valid question. – Pugz Aug 11 '14 at 19:16
  • http://msdn.microsoft.com/en-us/library/ee431960.aspx – Robert Harvey Aug 11 '14 at 19:16
  • You can avoid the downvotes by showing your prior research, and save us some time by not having us repeat the same research. – Robert Harvey Aug 11 '14 at 19:17
  • I saw that but it is in a strange assembly... SPOT.Hardware – Pugz Aug 11 '14 at 19:17
  • Does it not stand to reason that on a board like this people aren't stupid enough to post things without first doing something as simple as a Google search? I mean really... – Pugz Aug 11 '14 at 19:18
  • 1
    Google-fu on MSDN is pretty good. If you Google CRC32, and it doesn't show up in the first page of Google Search Results on MSDN, then there's probably not a built-in function to do it. – Robert Harvey Aug 11 '14 at 19:18
  • The first thing we're going to do for a question like this is to Google it, and find the plethora of external solutions that already exist. So no, we don't just make the assumption that you've already done this. – Robert Harvey Aug 11 '14 at 19:19
  • Fair enough. Thanks for the input! – Pugz Aug 11 '14 at 19:20

1 Answers1

7

I don't think there is one built into the .NET Framework. Use an open source version such as Damien Guard's library.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Jon
  • 3,230
  • 1
  • 16
  • 28