13376 shaares
333 private links
333 private links
Math.random() is 5 times faster to generate a byte than crypto.getRandomValues().
The 128 bits benchmark shows an increased difference. M̀ath.random() seems 10 times faster with 2 030 250 ops/s compared to 232 590 ops/s.