-
# PRNG - Pseudo Random Number Generator
# Grant category
Please select one:
- Developer tools/services
- Educational material
# Description
A fully on-chain pseudo-random number genera…
-
It looks like an output of a PRNG (a field element) allows to determine the internal state (`self.seed`), and therefore to determine future output values. If correct, this would violate the definition…
veorq updated
1 month ago
-
I started looking at the state of random in Gleam and I have several ideas.
1. `int.random` and `float.random` do not have seeds. It might be a problem for libraries. For example: if you want a fake-…
-
## Description
Several papers/reports in the literature have documented that the limited PRNG stride in Monte Carlo codes can negatively impact results. For example, see the paper by [Hakim and Fyn…
-
# Discovered Weaknesses
## Insufficient entropy
In the following code snippet, `item` is set to the character code of the first character in `key`. As used for the protection of the audio API, `ke…
-
getting the following error at line 232:
Traceback (most recent call last):
File "spca.py", line 412, in
main()
File "spca.py", line 408, in main
check_result()
File "spca.py", line 33…
-
Many uses cases require for a process to be somewhat stochastic without requiring a particularly good source of entropy in the cryptographic sense of the word.
This issue serves to investigate poss…
-
Current implementation is xoroshiro128+ with seed derived from `Date.now()` and `duk_heap` pointer, premixed using SplitMix64. The main shortcoming of this setup is that the seed is very similar when …
-
When ModelicaRandom.c was introduced with the Noise package for MSL v3.2.2 the **xorshift** PRNGs from http://xoshiro.di.unimi.it/xorshift.php were utilized. These PRNGs are now superseded by **xoshir…
-
To avoid duplication of work, let's track work we've done to make PRNG libraries compatible with the `interface-to-performance` branch here.
Feel free to edit this description directly.
---
`…