Post #2553669
2025-11-11 17:52 UTC
Sure, it can, but we should standardize the interface for an RNG.
Replies (2)
-
@esoterra@hachyderm.io 2025-11-11 17:58
@josh@social.joshtriplett.org @sunfish@hachyderm.io if it's a local/internal concern, do we need to? the flexibility of being able to choose the seed, how exactly you embed it, and the PRNG algorithm you use seems nice. you even get to have multiple of them if you want. plus, it means we don't have to do even more standardization work. what's the value of standardizing arbitrary non-secure random numbers in reproducible/replay-able components?
-
@dotstdy@mastodon.social 2025-11-11 18:02
@josh@social.joshtriplett.org @esoterra@hachyderm.io @sunfish@hachyderm.io I'm not sure you want to standardize anything other than a crypto rng, a non-csprng is like 5 lines of code which can live entirely inside the box.