Python implementation of the MASK fingerprinting system