mardi 4 août 2015

Are the docs for the valid values of HashAlgorithm's Create() method deficient?

MSDN says "The following table shows the valid values for the hashName parameter". But

HashAlgorithm.Create("System.Security.Cryptography.SHA1CryptoServiceProvider");

succeeds even though it's not on the list.

(As does SHA1Cng that is not on the list either.)

Are the docs incomplete, or am I misunderstanding them?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire