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

            // in case machine.config isn't configured to use any HAVAL192 implementation
            if (o == null)
            {
                o = new HAVAL192Native();
            }
            return((HAVAL192)o);
        }