示例#1
0
 public static IBuzHash Create(BuzHashTypes type, BuzHashConfig config)
 {
     config.CheckNull(nameof(config));
     config = config.Clone();
     config.HashSizeInBits = (int)type;
     return(new BuzHashFunction(config));
 }
示例#2
0
 public static IBuzHash Create(BuzHashTypes type, BuzHashConfig config) => Factory.Create(type, config);
示例#3
0
 public static IBuzHash Create(BuzHashTypes type = BuzHashTypes.BuzHashBit64) => Factory.Create(type);
示例#4
0
 public static IBuzHash Create(BuzHashTypes type = BuzHashTypes.BuzHashBit64)
 {
     return(Create(type, BuzHashConfig.Default));
 }