<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PRNG on</title><link>https://blog.amuralmanji.com/tags/prng/</link><description>Recent content in PRNG on</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 18 Oct 2026 08:00:00 +0400</lastBuildDate><atom:link href="https://blog.amuralmanji.com/tags/prng/index.xml" rel="self" type="application/rss+xml"/><item><title>Skipjack's S-box and Seed 48571</title><link>https://blog.amuralmanji.com/posts/skipjack_seed_48571/</link><pubDate>Sun, 18 Oct 2026 08:00:00 +0400</pubDate><guid>https://blog.amuralmanji.com/posts/skipjack_seed_48571/</guid><description>&lt;p&gt;One line of &lt;code&gt;srand48&lt;/code&gt; reproduces two-thirds of the NSA cipher&amp;rsquo;s lookup table. Here is what that shows, what it doesn&amp;rsquo;t, and an interactive way to see the difference.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;In short.&lt;/strong&gt; Seeding the POSIX &lt;code&gt;drand48&lt;/code&gt; generator with 48571 and running a simple shuffle produces a table that matches &lt;strong&gt;173 of 256&lt;/strong&gt; bytes of Skipjack&amp;rsquo;s F-table. Neighbouring seeds match 1. The remaining 83 bytes can be fixed with 52 swaps, but those swaps are read off the official table, so they would &amp;ldquo;fix&amp;rdquo; any seed. The match is the evidence; the swaps are bookkeeping. One thing the swaps do reveal: they raise nonlinearity from 92 to 100 while differential uniformity gets slightly worse, from 10 to 12.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item></channel></rss>