Пример #1
0
 public static new RIPEMD256 Create(string hashName)
 {
     object o = CryptoConfig.CreateFromName (hashName);
     // in case machine.config isn't configured to use any RIPEMD256 implementation
     if (o == null) {
         o = new RIPEMD256Native ();
     }
     return (RIPEMD256) o;
 }
Пример #2
0
        public static new RIPEMD256 Create(string hashName)
        {
            object o = CryptoConfig.CreateFromName(hashName);

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