ALGORITHM and SOFTWARE PROTOTYPE to uniquely identify/validate the integrity of any EPCIS event through a common, syntax-agnostic approach based on hashing. Takes an EPCIS Document (formatted in either XML or JSON-LD) and returns the corresponding hash value(s).
Currently there is some back and forth between handling XML as a string in order to split and replace and using https://docs.python.org/3.5/library/xml.etree.elementtree.html to map to python objects and use utilities there.
Doing this mapping only once seems much preferable and will in particular resolve https://github.com/RalphTro/epcis-event-hash-generator/issues/3