github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/synchronization/hashing/algorithm.proto (about)

     1  syntax = "proto3";
     2  
     3  package hashing;
     4  
     5  option go_package = "github.com/mutagen-io/mutagen/pkg/synchronization/hashing";
     6  
     7  // Algorithm specifies a hashing algorithm.
     8  enum Algorithm {
     9      // Algorithm_AlgorithmDefault represents an unspecified hashing algorithm.
    10      // It should be converted to one of the following values based on the
    11      // desired default behavior.
    12      AlgorithmDefault = 0;
    13      // Algorithm_AlgorithmSHA1 specifies that SHA-1 hashing should be used.
    14      AlgorithmSHA1 = 1;
    15      // Algorithm_AlgorithmSHA256 specifies that SHA-256 hashing should be used.
    16      AlgorithmSHA256 = 2;
    17      // Algorithm_AlgorithmXXH128 specifies that XXH128 hashing should be used.
    18      AlgorithmXXH128 = 3;
    19  }