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

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