sinasab / sec-utils

Some security-related utilities
https://sinasab.github.io/sec-utils/
Apache License 2.0
1 stars 0 forks source link

better rng #1

Closed sinasab closed 5 years ago

sinasab commented 6 years ago

I'm currently using Math.random as rng. It'd be better to use a better source of randomness; perhaps triplesec's is good enough, or maybe a separate one.

sinasab commented 5 years ago

using web crypto api now, closing.