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

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