public static IFarmHash Create(FarmHashTypes type = FarmHashTypes.Fingerprint64)
 {
     return(type switch
     {
         FarmHashTypes.Fingerprint32 => new FarmHashFingerprint032Function(),
         FarmHashTypes.Fingerprint64 => new FarmHashFingerprint064Function(),
         FarmHashTypes.Fingerprint128 => new FarmHashFingerprint128Function(),
         _ => new FarmHashFingerprint064Function()
     });
Exemplo n.º 2
0
 public static IFarmHash Create(FarmHashTypes type = FarmHashTypes.Fingerprint64) => Factory.Create(type);