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

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