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

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