Simple cryptography

  • Thread starter Thread starter Peter Hartlén
  • Start date Start date
P

Peter Hartlén

Hi!

Could someone please point me out in the right direction here.

I have a 32 character long hex-number, and a 11 digit long "key" and want to
create a one-way hash number of a not to extensive length (4 digits would be
perfect).

Is this doable, and where should I start looking (names of algorithms etc.).
I want to use the cryptography classes within .NET.

Thanks in advance!

/ Peter
 
I had a hard time doing a fairly simple cryptographic task (coming from
php, where you just have a simple "string md5(string x)" method). I
don't dare post my code here, because it's probably not at all decent
enough to learn anything from it. However, considering your actual
question:

You should start at System.Security.Cryptography.

Hope that helps, even if only a little.

-Jeroen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top