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

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