shenwei356 / csvtk

A cross-platform, efficient and practical CSV/TSV toolkit in Golang
http://bioinf.shenwei.me/csvtk
MIT License
999 stars 84 forks source link

[Suggest a new feature] Hash command #196

Closed mando7 closed 1 year ago

mando7 commented 2 years ago

Is it possible in the future to add a command that creates a new column with a hash of another column? A new anonymized column that would contain a uuid or md5 or sha or other hashing algorithm. For example: csvtk hash md5 -f 2 -n "id" -f 5 -n "anonymous" csvtk hash uuid -f 2 -n "id" -f 5 -n "anonymous" csvtk hash sha -f 2 -n "id" -f 5 -n "anonymous".

I hope I was understandable. Thanks again for your tool.

shenwei356 commented 1 year ago

Sound like a rare scenario