線形代数によるメルセンヌ・ツイスタのリバースエンジニアリング
メルセンヌ・ツイスタは広く使われる擬似乱数生成器だが、その内部状態は線形代数を用いて解析・復元できる。この記事では、出力系列から線形方程式を解くことで乱数生成器の内部状態を逆算する手法を解説する。暗号学的に安全でない乱数生成器の脆弱性を示す一例である。
メルセンヌ・ツイスタは広く使われる擬似乱数生成器だが、その内部状態は線形代数を用いて解析・復元できる。この記事では、出力系列から線形方程式を解くことで乱数生成器の内部状態を逆算する手法を解説する。暗号学的に安全でない乱数生成器の脆弱性を示す一例である。
The Mersenne Twister (MT) is a random number generator with strong statistical but weak cryptographic properties. This post demonstrates how to recover the internal state of an MT generator from its output using linear algebra, contrasting this approach with the usual bit twiddling method.
The post explains how to recover the internal state of the lehmer64 random number generator from its outputs, following a similar approach to a previous article on hacking the Mersenne Twister. The lehmer64 generator is noted for its simple implementation and high speed.
The article discusses the probability that a random n × n binary matrix (filled with 0s and 1s) is invertible, exploring different approaches to calculating this probability depending on the underlying assumptions about the entries.
A blog post discusses the probability that a random matrix over a finite field is invertible, noting that this probability converges quickly as the matrix dimension n increases.