felixd / entropy

Entropy Playground

Home Page:https://felixd.github.io/entropy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Entropy

Entropy Playground

Go lang

Check go/ directory for Go Lang examples

Online Entropy Sources

Hardware TRNG / Generators

vanheusden.com

Entropy Evaluation

Data

Weak RNG (Widespread Weak Keys in Network Devices)

Knowladge

Software

Other things

Linux

Software

sudo apt install rng-tools
felixd@vpn-s:~/rng/linux-ent$ cat /dev/random | rngtest --blockcount=100000
rngtest 5
Copyright (c) 2004 by Henrique de Moraes Holschuh
This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rngtest: starting FIPS tests...
rngtest: bits received from input: 2000000032
rngtest: FIPS 140-2 successes: 99925
rngtest: FIPS 140-2 failures: 75
rngtest: FIPS 140-2(2001-10-10) Monobit: 10
rngtest: FIPS 140-2(2001-10-10) Poker: 11
rngtest: FIPS 140-2(2001-10-10) Runs: 27
rngtest: FIPS 140-2(2001-10-10) Long run: 28
rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
rngtest: input channel speed: (min=5.116; avg=4125.041; max=19073.486)Mibits/s
rngtest: FIPS tests speed: (min=4.608; avg=146.269; max=150.185)Mibits/s
rngtest: Program run time: 13512568 microseconds

Quantum Random

https://pypi.org/project/quantumrandom/

Since Kernel 5.18

Since Kernel 5.18 /dev/random and /dev/urandom are the same thing

Finally I have been able to find more explanation on what happened. You can read commit message from Kernel.org explaining situation:

More explanation: https://lwn.net/Articles/884875/

Monitoring

echo 1 > /sys/kernel/debug/tracing/events/syscalls/sys_enter_getrandom/enable
cat /sys/kernel/debug/tracing/trace_pipe 

Author

About

Entropy Playground

https://felixd.github.io/entropy/

License:GNU General Public License v3.0


Languages

Language:Go 70.1%Language:Shell 29.9%