Skip to main content

compute_signature

Function compute_signature 

Source
pub fn compute_signature(md5s: &HashSet<String>) -> String
Expand description

Compute a signature hash from a set of MD5 checksums.

The signature is computed by:

  1. Sorting the MD5s alphabetically
  2. Joining them with commas
  3. Computing MD5 of the concatenated string

This provides a deterministic identifier for a set of contigs.