# Christos Faloutsos, Sept. 2025

INSTALLATION:
    tar xvf anonymizer_v2_all.tar


USAGE:
    			# needs perl>=5
    - make 		# to see a demo
    - anonymize.pl -h 	# to see a help message


DESCRIPTION:

    SIMPLE USAGE:
        anonymize_v2.pl -c1,2 inp_header.csv
    - operates on the file inp_header.csv
    - treats the first line as a 'header' line
    - and anonymizes the first two columns, using the same dictionary

    FOR THE PROJECT: 
    (replace 'INPUT' 'OUTFILE' etc, with the names you want)
        gzcat INPUT.csv.gz 			  |\
	    anonymize_v2.pl -c13,14 -pLOOKUP_FILE |\
	    gzip > OUTFILE
    - anonymizes the last two columns ('source_hash', 'target_hash')
      of the INPUT.csv.gz file
    - saves the anonymized file to OUTFILE
    - and the dictionary to LOOKUP_FILE
