Example #1
0
 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;
 }
Example #2
0
        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);
        }