The first two times of call crypto.getRandomValues returns 0 #202
Open
Description
This behavior always occurs
Welcome to Porffor (0.47.3) running on Node (22.9.0)
using opt -O1, parser acorn, valtype f64
> crypto.getRandomValues(new Uint8Array(1));
Uint8Array(1) [ 0 ]
> crypto.getRandomValues(new Uint8Array(1));
Uint8Array(1) [ 0 ]
> crypto.getRandomValues(new Uint8Array(1));
Uint8Array(1) [ 229 ]
> crypto.getRandomValues(new Uint8Array(1));
Uint8Array(1) [ 252 ]
>
Metadata
Assignees
Labels
No labels