Stable hashing across Julia versions

If the values are always arrays of ints or something comparable, then you could just use write to get a “canonical” binary representation and use CRC32 or SHA to hash that binary data. If the data is more complex, you could use BSON to serialize it and then hash the resulting BSON data.

3 Likes