summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId/CryptUtil.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-08-13 04:25:00 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2008-08-13 04:25:00 -0700
commitfd6acdc9b14b51fc0bf4c1b4fa815cc1f0d7ce26 (patch)
treea345806393382207e9d75a14f820457906f5878e /src/DotNetOpenId/CryptUtil.cs
parentba48275ccaae1218b1e8574029f7e009eb3f8735 (diff)
downloadDotNetOpenAuth-fd6acdc9b14b51fc0bf4c1b4fa815cc1f0d7ce26.zip
DotNetOpenAuth-fd6acdc9b14b51fc0bf4c1b4fa815cc1f0d7ce26.tar.gz
DotNetOpenAuth-fd6acdc9b14b51fc0bf4c1b4fa815cc1f0d7ce26.tar.bz2
Made HMAC-SHA association types a table instead of several classes.
Diffstat (limited to 'src/DotNetOpenId/CryptUtil.cs')
-rw-r--r--src/DotNetOpenId/CryptUtil.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenId/CryptUtil.cs b/src/DotNetOpenId/CryptUtil.cs
index 19b4266..103c8c3 100644
--- a/src/DotNetOpenId/CryptUtil.cs
+++ b/src/DotNetOpenId/CryptUtil.cs
@@ -19,7 +19,7 @@ namespace DotNetOpenId {
154, 72, 59, 138, 118, 34, 62, 93, 73, 10, 37, 127, 5, 189, 255, 22,
242, 251, 34, 197, 131, 171};
- internal static HashAlgorithm Sha1 = new SHA1CryptoServiceProvider();
+ internal static HashAlgorithm Sha1 = new SHA1Managed();
internal static HashAlgorithm Sha256 = new SHA256Managed();
internal static HashAlgorithm Sha384 = new SHA384Managed();
internal static HashAlgorithm Sha512 = new SHA512Managed();