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

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