Exemple #1
0
 public static new HAVAL160 Create(string hashName)
 {
     object o = CryptoConfig.CreateFromName (hashName);
     // in case machine.config isn't configured to use any HAVAL160 implementation
     if (o == null) {
         o = new HAVAL160Native ();
     }
     return (HAVAL160) o;
 }
Exemple #2
0
        public static new HAVAL160 Create(string hashName)
        {
            object o = CryptoConfig.CreateFromName(hashName);

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