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

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