I have a field in Mongodb that contains large amounts of user data.
I need to apply SHA256 or SHA512 to the contents of the field while keeping the original.
I need another field to be generated with the SHA values of the original field.
I would like to automate this task, does anybody have any suggestions?