# std.crypto.tlcsprng: Fix hardcoded use of defaultRandomSeed\(\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/4b0f77cc1f2f4939c59e92175f6e69394eb3bcef)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 4b0f77cc1f2f4939c59e92175f6e69394eb3bcef

Requested commit: 4b0f77cc1f2f4939c59e92175f6e69394eb3bcef

Commit: 4b0f77cc1f2f4939c59e92175f6e69394eb3bcef

Tree: 33eb82fc75b6fd15fd3a386ed9912e60e13cf1d7

Author: Linus Groh

Committer: Andrew Kelley

## Message

```
std.crypto.tlcsprng: Fix hardcoded use of defaultRandomSeed()

Instead of hardcoding a call to defaultRandomSeed() use the customizable
std.options.cryptoRandomSeed() like in the rest of the function.

Closes #19943.

```

## Parents

- [84aac8b6c7721d53a93e636e803e867933ae6e99](https://git.cafe/gitcafe/zig/commit/84aac8b6c7721d53a93e636e803e867933ae6e99?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/4b0f77cc1f2f4939c59e92175f6e69394eb3bcef?format=markdown)
