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

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