I added to my CSV utilities a way to obfuscate the data. This might be used to extract data from a database and you want to obfuscate some columns before giving it to someone else. Once an obfuscated value is assigned to an original value, it is used consistently. This way the identity and relationships are preserved.
Find at github csv-utils.