# `Shardex.Strategy.Hash`
[🔗](https://github.com/epinault/shardex/blob/v0.1.0/lib/shardex/strategy/hash.ex#L1)

Default strategy: `:erlang.phash2(key, shard_count)` over the configured
shard list. Adding or removing a shard remaps most keys; use
`Shardex.Strategy.JumpHash` if the shard count will grow.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
