RalphTro / epcis-event-hash-generator

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).
MIT License
8 stars 4 forks source link

disregard errorDeclaration element content when calculating the pre-hash #95

Closed dakbhavesh closed 1 year ago

dakbhavesh commented 1 year ago

Dear @RalphTro, Updated the logic to disregard the errorDeclaration content from pre-hash.

Please take a look and merge if it looks ok. This will address issue #53

Thanks, Bhavesh

RalphTro commented 1 year ago

Dear @dakbhavesh , MANY THANKS! Just had a look at your changes + made a couple of tests; all looks fine to me!