17. mt19937
• MTの内部状態?
• L53: static unsigned long mt[N];
/* the array for the state vector */
L54: static int mti=N+1;
/* mti==N+1 means mt[N] is not initialized */
• L47: #define N 624
• 624個の要素を持つ配列(mt)と整数値(mti)
17
33. References
• “Cracking Random Number Generators” . https://jazzy.id.au/
2010/09/20/cracking_random_number_generators_part_1.html
• “PRNG vs. CSPRNG” . http://www.karlin.mff.cuni.cz/jarniskola/files/
prednasky/prng_1_linkeova.pdf
• “Mersenne Twister Home Page” . http://www.math.sci.hiroshima-u.ac.jp/
~m-mat/MT/mt.html
• “Design and Implementation of a Quantum True Random Number Gene
rator” . https://www.defcon.org/images/defcon-17/dc-17-presentations/
defcon-17-sean_boyce-quantum_random.pdf
• “Secure Random by Default” . http://www.slideshare.net/dakami/yet-
another-dan-kaminsky-talk-black-ops-2014
• “Bsides LV 2014 - Untwisting The Mersenne Twister: How I killed the
PRNG - 05Aug2014” . https://www.youtube.com/watch?v=f841Y7d3oDo
33