AddAlgorithm() public static method

public static AddAlgorithm ( Type algorithm ) : void
algorithm Type
return void
Ejemplo n.º 1
0
 static MD4()
 {
     CryptoConfig.AddAlgorithm(typeof(MD4CryptoServiceProvider), "System.Security.Cryptography.MD4");
 }
Ejemplo n.º 2
0
 static SHA3()
 {
     CryptoConfig.AddAlgorithm(typeof(SHA3Managed), "SHA3", "SHA3Managed", "SHA-3", "System.Security.Cryptography.SHA3");
     CryptoConfig.AddOID("0.9.2.0", "SHA3", "SHA3Managed", "SHA-3", "System.Security.Cryptography.SHA3");
 }