A toolkit for working with phylogenetic data.
v0.24.0
utils/tools/hash/functions.hpp File Reference
#include "genesis/utils/io/input_source.hpp"
#include <iosfwd>
#include <string>

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Enumerations

enum  HashingFunctions { kMD5, kSHA1, kSHA256 }
 List of the currently implemented hashing functions. More...
 

Functions

std::string hash_hex (std::shared_ptr< BaseInputSource > source, HashingFunctions hash_fct)
 Calculate the hash of an input source, using a given hashing function, and return its hex representation as a string. More...