amazon-ion / ion-hash-java

A Java implementation of Amazon Ion Hash.
https://amazon-ion.github.io/ion-hash/
Apache License 2.0
6 stars 9 forks source link

removes fieldname from computation of the value returned by currentHash() #5

Closed pbcornell closed 7 years ago

pbcornell commented 7 years ago

Removing fieldname from the currentHash() computation enables hashes of field values within a struct to be compared outside of a struct. Note that field names remain part of the hash computation when stepping out of a struct.