Пример #1
0
 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
        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);
        }