 
            
            
            
            
                6 Jan
                
                    2018
                
            
            
                6 Jan
                
                '18
                
            
            
            
        
    
                7 p.m.
            
        Bjorn Reese wrote:
On 01/06/18 17:26, Peter Dimov via Boost wrote:
Splendid.
Would it be possible to add configurable hash functions (or make some of the existing ones configurable?)
If by configurable you mean hash functions that can take a seed, yes, the provided hash functions do have constructors taking seeds, matching their "canonical" implementations. spooky2_128's constructor, for example, is explicit spooky2_128( boost::uint64_t seed1 = 0, boost::uint64_t seed2 = 0 ); and murmur3_32 has explicit murmur3_32( boost::uint32_t seed = 0 ); In addition, all algorithms support H( byte_type const * seed, ptrdiff_t n ); as a generic way to supply a seed.