UNIX random devices and utilities

learn more… | top users | synonyms

9
votes
1answer
152 views

What program(s) is(are) lowering my entropy pool level?

I've made a simple bash script that checks the entropy pool level in /dev/random. I realize that the way I do it, I lower it very slightly at each check (cat /proc/sys/kernel/random/entropy_avail) but ...
3
votes
1answer
53 views

How random is the pseudo random number generators on live boot disks? Is there a way to seed it?

I know that random number generators on computers are only pseudo-random, but are the PRNGs on Live Boot USB or DVDs even less random? Is there a way to seed them after booting? Specifically curious ...
2
votes
1answer
559 views

What entropy sources are used by the Linux kernel?

man 4 random has a very vague description of Linux kernel entropy sources: The random number generator gathers environmental noise from device drivers and other sources into an entropy ...
0
votes
1answer
13 views

KSH password generator

How to make sure the generated passwords contains all these special characters: ?!/=\? Currently I'm using: pwd_usr["$i"]=`cat /dev/urandom|tr -dc "a-zA-Z0-9-_\?\!\=\/\"|fold -w 15|head -n 1` But ...
0
votes
1answer
116 views

php shell_exec() + /dev/hwrng: no output

I have this PHP script: <?php $od = shell_exec('od /dev/hwrng --address-radix=n --read-bytes=4 --format=u4'); ?> <html> <head> <title>hwrng</title> </head> ...
1
vote
0answers
190 views

xdotool random/more natural delay?

For automated testing of some applications, I would like to emulate the users behaviour. I know I can user the xdotool type --delay option, but I would like a more natural delay. The easiest thing ...