コード例 #1
0
ファイル: MD2.cs プロジェクト: REALTOBIZ/mono
	public static new MD2 Create (string hashName)
	{
		object o = CryptoConfig.CreateFromName (hashName);
		// in case machine.config isn't configured to use any MD2 implementation
		if (o == null) {
			o = new MD2CryptoServiceProvider ();
		}
		return (MD2) o;
	}
コード例 #2
0
        public static new MD2 Create(string hashName)
        {
            object o = CryptoConfig.CreateFromName(hashName);

            // in case machine.config isn't configured to use any MD2 implementation
            if (o == null)
            {
                o = new MD2CryptoServiceProvider();
            }
            return((MD2)o);
        }
コード例 #3
0
	public void Setup () 
	{
		hash = new MD2CryptoServiceProvider ();
	}