Password Storage

  • Thread starter Thread starter Mythran
  • Start date Start date
M

Mythran

I noticed that in *nix environments (gnu library) they have a crypto library for
encrypting passwords (along with doing other things). In .Net, I do not see
anything that I can use for mimic'ing this functionality without writing my own
encryption for storing passwords in a text file. Is there any such thing or
shall I just write one?


Basically, I want to encrypt a string to store in a plain text file that will be
stored on a publically accessible system (not really public, but for show
here...).

Thanks,

Mythran
 
Mythran,

Check out the classes in the System.Security.Crytography namespace.
There are a number of classes there that will enable you to encrypt byte
strings in various ways (remember, text can ultimately be represented as a
bytes string).

Hope this helps.
 
..NET has support for Crypto stuff.

What you probably want to use is something like a MD5 Hash.

look at System.Security.Cryptography Namespace and the MD5 Class.
 
Thank you Arran and Nicholas.

Didn't even look that hard, just a question at top of my head and thought I
should ask...thanks again! :)

Mythran
 
Hi Mythran,

Just to add to what Nicholas and Arran said;

This link provides a good overview on managing password, salting, stretching
etc...though you might want to check it out.

- Rakesh Rajan
 
Nice LINK! :P Where is it?

Mythran

Rakesh Rajan said:
Hi Mythran,

Just to add to what Nicholas and Arran said;

This link provides a good overview on managing password, salting, stretching
etc...though you might want to check it out.

- Rakesh Rajan
 
Back
Top