https://github.com/splatlab/squeakr
Raw File
Tip revision: 8c40ff8c8d774941b520ba9e2a0ad9e1fdf1ce11 authored by Prashant Pandey on 01 August 2017, 01:15:07 UTC
Adding support for K-mer size larger than 32.
Tip revision: 8c40ff8
hashutil.h
/*
 * =====================================================================================
 *
 *       Filename:  hashutil.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  04/18/2016 04:49:32 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Prashant Pandey (ppandey@cs.stonybrook.edu)
 *                  Rob Patro (rob.patro@cs.stonybrook.edu)
 *                  Rob Johnson (rob@cs.stonybrook.edu)
 *   Organization:  Stony Brook University
 *
 * =====================================================================================
 */

#ifndef _HASHUTIL_H_
#define _HASHUTIL_H_

#include <sys/types.h>
#include <string>
#include <stdlib.h>
#include <stdint.h>
#include <openssl/evp.h>

namespace kmercounting {
	class HashUtil {
		public:
			static uint64_t MurmurHash64B ( const void * key, int len, unsigned int seed );
			static uint64_t MurmurHash64A ( const void * key, int len, unsigned int seed );

		private:
			HashUtil();
	};
}	// namespace kmercounting

#endif  // #ifndef _HASHUTIL_H_


back to top