コード例 #1
0
ファイル: _MD4.cs プロジェクト: CivilPol/LumiSoft.Net
		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 MD4Managed ();
			}
			return (_MD4) o;
		}
コード例 #2
0
ファイル: _MD4.cs プロジェクト: genesissupsup/nkd
        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 MD4Managed();
            }
            return((_MD4)o);
        }