# Where does the default seed come from?

**URL:** <https://discourse.julialang.org/t/where-does-the-default-seed-come-from/71852>\
**Category:** General Usage\
**Tags:** random\
**Created:** [November 21, 2021, 4:05am UTC](https://discourse.julialang.org/t/where-does-the-default-seed-come-from/71852 "2021-11-21T04:05:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)\
**Post date:** [November 21, 2021, 4:05am UTC](https://discourse.julialang.org/t/where-does-the-default-seed-come-from/71852/1 "2021-11-21T04:05:12Z")

</div>

```julia
julia> Random.default_rng().seed
4-element Vector{UInt32}:
 0x21fc2c5d
 0x2ccb7f07
 0xa6a6c199
 0x7786f2df

```

Where do these numbers come from?

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [November 21, 2021, 4:41am UTC](https://discourse.julialang.org/t/where-does-the-default-seed-come-from/71852/2 "2021-11-21T04:41:51Z")

</div>

for posterity, this doesn’t exist in \>= 1.7:

```julia
julia> using Random

julia> Random.default_rng().seed
ERROR: type TaskLocalRNG has no field seed
Stacktrace:

```
