Thursday, September 5, 2013

equivalent of RNGCryptoServiceProvider.GetNonZeroBytes for SHA1CryptoServiceProvider

equivalent of RNGCryptoServiceProvider.GetNonZeroBytes for
SHA1CryptoServiceProvider

I am using this tutorial to encrpyt and decrpyt passwords that are saved
to sql database.
Problem is the RNGCryptoServiceProvider is not supported on the platform
i'm using therefore I changed it to SHA1CryptoServiceProvider. How do I
get round the GetNonZeroBytes?

No comments:

Post a Comment