A method (and system) for generating an output file from a source file where
benign
modifications to a content of the output file still render the output file authentic,
includes constructing an index vector from the source file, quantizing the source
file, generating an authentication mark from the quantized source file and the
index vector, generating an authentication tag by appending the index vector to
the authentication mark, and generating the output file by appending the authentication
tag to the source file.