SplitMix64 explained in plain terms means understanding the one-word generator that seeds nearly everything, a design from 2014 that turns a single 64-bit counter into a stream of well-mixed numbers. The central question is why one counter and a few multiplies can feed the world’s fastest generators, and the answer is that a good finalizer spreads every bit of the counter across the output, so SplitMix64 gives every seed a fair start, and that fairness is the whole point of the design.
SplitMix64 is a fast pseudorandom number generator created by Sebastiano Vigna, producing a 64-bit value on every call. It turns a seed into a sequence by adding a fixed golden constant to its state and passing the result through a xor-shift-multiply finalizer, and it is built on the idea that a generator should be small enough to fit anywhere, which means the whole state is a single word, and that smallness is what makes it unlike the generators of its era.
This article gives you five facts about SplitMix64, explains what it is, how it works, and why it still matters.
Key takeaways
- SplitMix64 is a fast generator from 2014, by Sebastiano Vigna.
- Its whole state is a single 64-bit word.
- It adds the golden constant 0x9E3779B97F4A7C15 each step.
- It is the default generator in Java’s SplittableRandom.
- It seeds xoshiro, xoroshiro and other fast generators.
What SplitMix64 is
The first fact is that SplitMix64 is a splittable generator, which means one seed can be split into many independent streams. A normal generator gives one sequence, but SplitMix64 hands out fresh generators from a single counter, which means parallel programs can each have their own stream, and because the split is cheap, the design fits modern multicore code.
The second fact is that its state is a single word. SplitMix64 keeps one 64-bit value and nothing else, which means the whole generator fits in a register, and because the state is so small, it can be copied, saved and restored for free.
The third fact is that it is the default in Java. SplitMix64 powers SplittableRandom, the generator Java added in version 8, which means it runs in millions of programs, and because it is the default, it is the generator most Java developers meet first.
The fourth fact is that it seeds the fast generators. xoshiro256, xoroshiro128 and their cousins all start from SplitMix64 output, which means it is the front door to the fastest generators in use, and because its mixing is strong, the generators it seeds start from well-spread states.
The fifth fact is that it is not for security, and it never pretends otherwise. SplitMix64 is built for speed and for seeding, not for secrets, which means it must never guard a password or a key, and that honesty is the reason it is the first example engineers meet when they learn the line between fast randomness and secure randomness.
Our guide to wyhash explains the multiply-and-fold hash that shares its spirit, and our guide to SeaHash explains the four-state hash that also mixes for speed.
How SplitMix64 works
Everything starts with the seed, which is the initial state. SplitMix64 takes any 64-bit seed and stores it as its counter, which means the starting state depends on the seed, and because any seed is allowed, the same seed always gives the same stream.
Each step begins with the golden constant, which is added to the state. SplitMix64 adds 0x9E3779B97F4A7C15 to its counter, which means the state moves by a fixed irrational step, and because the constant is the golden ratio in disguise, the counter visits every value before it repeats.
The finalizer is what makes the design work as a whole. The new state passes through three xor-shift-multiply rounds, which means the value is scrambled thoroughly, and because each round spreads the bits further, a small change in the counter changes the whole output.
The output spreads the effect further. SplitMix64 returns the finalised value directly, which means the result is a fresh 64-bit number on every call, and because the finalizer is strong, the outputs look random even though the counter moves in fixed steps.
The splitting is what turns one generator into many. A program can ask SplitMix64 for a new generator by drawing a fresh seed from the stream, which means each split starts from an unrelated state, and because the split is just a draw, the design needs no extra machinery.
The stream comes from the counter, read out one value at a time. SplitMix64 outputs one number per step for 2 to the power of 64 steps, which means the sequence is long enough for any practical use, and that length is exactly what a seeder needs for its job.

Comparing SplitMix64 with other fast mixers
SplitMix64 is one of several fast designs built for speed, and each was built with a different emphasis. wyhash is the hash built on a single wide multiplication, SeaHash is the hash built on four parallel states, and SplitMix64 is the one built on a counter and a finalizer, while each approach trades something for something else.
The table below sets out the main contrasts between the leading approaches.
| Aspect | SplitMix64 | wyhash | SeaHash |
|---|---|---|---|
| Output size | 64 bits | 64 bits | 64 bits |
| State | One 64-bit word | Seed and secret | Four 64-bit states |
| Core operation | Add, xor-shift, multiply | Multiply and fold | Diffuse multiply |
| Year | 2014 | 2019 | 2016 |
| Best for | Seeding generators | Fastest hash tables | Rust hash tables |
The practical result is that SplitMix64 is the right choice for seeding generators, wyhash suits fastest hash tables, and SeaHash fits Rust hash tables instead.
Where SplitMix64 is used
Java uses it as its splittable generator. SplittableRandom ships SplitMix64 as its engine, because it is fast and splittable, and that adoption is the reason it runs in real programs rather than only in benchmarks.
Generator libraries use it to seed their state. xoshiro and xoroshiro both fill their registers from SplitMix64, because a generator needs a well-mixed start, and that seeding is the reason SplitMix64 earns its keep in random-number code.
Hash tables use its finalizer to mix hashes. The mix64 finalizer spreads a hash across all 64 bits, because a table needs its keys well spread, and that mixing is the reason the finalizer appears in hash code far beyond random numbers.
Benchmarking uses it as a speed reference. Engineers still quote SplitMix64 when they discuss how fast a generator can run, because it is the clearest example of a counter and a finalizer paying off, and that number shapes how new generators are measured.
Teaching uses it as the finalizer example. Courses introduce SplitMix64 when they explain that a few multiplies can mix, because it is the clearest case of the idea in a real design, and a student who understands SplitMix64 understands why constants matter in generator design.
Strengths and limits
The greatest strength of SplitMix64 is its size. A generator with one word of state can be copied and split for free, and that strength is real, measured in the libraries that adopted it and confirmed by the generators it seeds.
It is also a strength that the design is easy to explain. A counter, a constant and a finalizer is a design anyone can describe, and that simplicity is worth more than cleverness in a field where a generator nobody can audit is a generator nobody trusts.
The limits are real, though, and the biggest is that it is not cryptographic. SplitMix64 was never designed to resist an adversary, which means it must never guard a secret or a key, and a system that needs secure randomness must use a cryptographic generator instead.
SplitMix64 checklist
- Use SplitMix64 for seeding, never for security or passwords.
- Remember its whole state is one 64-bit word.
- Note the step adds the golden constant each time.
- Compare it with wyhash to see two kinds of fast mixing.
- Study the finalizer, which is what spreads the bits.
- Check the seed, since any 64-bit value is allowed.
- Keep real secrets behind cryptographic generators.
- Read Vigna’s page to see how the constants were chosen.
- Choose a cryptographic generator when security matters.
Frequently asked questions
What is SplitMix64 in simple terms?
It is a 2014 generator that turns a single counter into a stream of 64-bit numbers by adding a golden constant and mixing the result.
Who created SplitMix64?
Sebastiano Vigna, whose splitmix64.c reference is the code every port follows.
How is SplitMix64 different from wyhash?
Both mix with multiplies, but SplitMix64 generates numbers from a counter while wyhash hashes input words with a secret.
Is SplitMix64 still secure?
It is fast and well tested, but it is not a cryptographic generator, so it must never guard secrets or keys.
Where is SplitMix64 used?
In Java’s SplittableRandom, in generator libraries, in hash finalizers, in benchmarking, and in teaching about mixing.
When should I use SplitMix64?
When you need a fast seeder, when you split work across cores, or when you study counter-based generator design.
The bottom line
SplitMix64 explained in one line is this: the one-word generator, a 2014 design of a counter, a golden constant and a finalizer that seeds the fastest generators and taught the field that small can seed big.
It is proof that a counter can be a generator, and the reason it still matters is that every fast generator designed since has been judged partly by the lesson SplitMix64 taught.
This article is general information about how SplitMix64 works, not advice about choosing encryption for a particular device or system.







