Amazon Ion Hash defines an algorithm for constructing a hash for any Ion value. For a given Ion value and consistent hash function, the algorithm guarantees hashing the value will always produce the same hash, independent of the value’s encoding (text or binary). The hash function to use is not declared by the specification—this enables the user to select the hash function most appropriate to their use case.

Ion hash is useful when determining whether two Ion values represent the same value, or determining whether an Ion value has changed. For example, a storage system might use Ion hashes to assert the integrity of its data.

For more information, see the Ion Hash Specification.


Latest News


Ion Hash Python 1.0.1 Released
16 July 2019

This release is a complete implementation of the Ion Hash Specification. In addition to low-level hash_reader/hash_writer APIs, it adds an ion_hash() method to all ion-python simpleion objects.

This package is available at PyPI.

Ion Hash Python

Ion Hash Specification 1.0 Released
23 May 2019

This new specification defines a hash algorithm for Ion values.

Ion Hash Specification

Ion Hash Java Open Sourced
23 May 2019

A reference implementation of the Ion Hash specification is now available as open source software.

Ion Hash Reference Implementation

Visit the News page for more announcements related to Ion Hash.