blob: 1029764fd0194d560a7cbd7677de3246b9a52069 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// <OWNER>Microsoft</OWNER>
//
//
// MD5.cs
//
namespace System.Security.Cryptography {
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class MD5 : HashAlgorithm
{
protected MD5() {
HashSizeValue = 128;
}
//
// public methods
//
new static public MD5 Create() {
#if FULL_AOT_RUNTIME
return new System.Security.Cryptography.MD5CryptoServiceProvider ();
#else
return Create("System.Security.Cryptography.MD5");
#endif
}
new static public MD5 Create(String algName) {
return (MD5) CryptoConfig.CreateFromName(algName);
}
}
}
|