A hasher based on spectrum peaks. More...
#include <peakhasher.h>
Public Member Functions | |
PeakHasher () | |
Default constructor. | |
void | feed () |
Feed the hash algorithm. | |
void | compute () |
Compute the hash of the current sequence. | |
string | getHash () |
Get the current hash. | |
float | compare (string a, string b) |
Compare two hashes. | |
void | setBufferSize (int size) |
Change the buffer size of the algorithm (the time that it remembers hashes) | |
Public Member Functions inherited from Hasher | |
Hasher () | |
Default constructor. |
A hasher based on spectrum peaks.