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

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