Implementation of a fingerprinting algorithm