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

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