Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
evmar
· 4y ago · 0 comments
The "use ASLR for random seed" trick in there is pretty cute, but I noticed it will just silently not work in non-ASLR settings, and in particular under Wasm.
Comments
[–]
spb
4y ago
Recent versions of Lua use this trick as well.
[–]
sedatk
4y ago
Is there any other way to generate entropy without an OS dependency?
[–]
mhh__
4y ago
timestamp counter?
[–]
sedatk
4y ago
Only works on x86.
[–]
mhh__
4y ago
As far as entropy generation goes other architectures have equivalents, albeit a few more instructions than just rdtsc
[–]
IshKebab
4y ago
Not the end of the world though surely.