Text this: The secure judgment of graphic similarity against malicious adversaries and its applications