# Alternatives to \`Base.hash\`?

**URL:** https://discourse.julialang.org/t/alternatives-to-base-hash/79154
**Category:** General Usage
**Created:** [April 7, 2022, 10:27am UTC](https://discourse.julialang.org/t/alternatives-to-base-hash/79154 "2022-04-07T10:27:04Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![MarcMush](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marcmush/32/18006_2.png) [@MarcMush](https://discourse.julialang.org/u/MarcMush)
#### Post date: [April 7, 2022, 12:15pm UTC](https://discourse.julialang.org/t/alternatives-to-base-hash/79154/4 "2022-04-07T12:15:20Z")

</div>

see also

> [@Stable hashing across Julia versions](https://discourse.julialang.org/t/stable-hashing-across-julia-versions/44423/5):
>
> 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](https://github.com/JuliaIO/BSON.jl) to serialize it and then hash the resulting BSON data.

---

_[View the full topic](https://discourse.julialang.org/t/alternatives-to-base-hash/79154)._
