Supported Hashing Algorithms for PasswordDeriveBytes

this was a question on the MSDN Newsgroups.

By looking at the source with reflector – they create a HashTable with all available algorithm mappings (look at System.Security.Cryptography.CryptoConfig. CreateDefaultMappingHT).

The HT includes hashing and encryption algorithms.

Out of experimentation i found out that you can use the following strings for the PasswordDeriveBytes ctor:

  • MD5
  • SHA1
  • SHA256
  • SHA384
  • SHA512
  • HMACSHA1

 

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s