Automate SHA-256 process
Posted on 2013-05-30
We have an XML file which is produced weekly.
Within that file are the tags <BACSHashCode>characterstring</BACSHashCode>
The tags appear multiple times within the XML file and the character string differs within each occurrence.
I need to be able to encrypt each character string occurrence with a SHA-256 encrypted version. I am doing this manually at present using an online facility. I copy the value of each 'character string' from the file into conversion facility and paste back the result overriding the previous character string.
It is a very lengthy and error-prone process.
Does anyone know of a utility which will automate this process?
I guess I would need to feed it the file name, or open the file within the utility. Then I would need to give it the name of the tags and it would do the job for me.
Thanks for any suggestions.