예제 #1
0
파일: MD4.cs 프로젝트: nlhepler/mono
	public static new MD4 Create (string hashName) 
	{
		object o = CryptoConfig.CreateFromName (hashName);
		// in case machine.config isn't configured to use any MD4 implementation
		if (o == null) {
			o = new MD4CryptoServiceProvider ();
		}
		return (MD4) o;
	}
예제 #2
0
        public static new MD4 Create(string hashName)
        {
            object o = CryptoConfig.CreateFromName(hashName);

            // in case machine.config isn't configured to use any MD4 implementation
            if (o == null)
            {
                o = new MD4CryptoServiceProvider();
            }
            return((MD4)o);
        }
	public void Setup () 
	{
		hash = new MD4CryptoServiceProvider ();
	}