<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://tech.saigonist.com/taxonomy/term/56/all" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>random</title>
    <link>http://tech.saigonist.com/taxonomy/term/56/all</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Random number generation in JavaScript</title>
    <link>http://tech.saigonist.com/b/code/random-number-generation-javascript</link>
    <description>&lt;span class=&quot;submitted-by&quot;&gt;March 4, 2016&lt;/span&gt;&lt;div class=&quot;field_tags&quot;&gt;&lt;span class=&quot;label label-info&quot;&gt;&lt;a href=&quot;/tags/random&quot;&gt;random&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;label label-info&quot;&gt;&lt;a href=&quot;/tags/javascript&quot;&gt;javascript&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;label label-info&quot;&gt;&lt;a href=&quot;/tags/nodejs&quot;&gt;node.js&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;label label-info&quot;&gt;&lt;a href=&quot;/tags/crypto&quot;&gt;crypto&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Generating a random number in JavaScript is simple if you don&#039;t care about quality, more complicated if you do. When I say &quot;in JavaScript&quot; I mean both of the JavaScript runtimes - the browsers with their DOM/window, and Node.js without those things - and without all the modern browser APIs.&lt;/p&gt;

&lt;ol&gt;&lt;li&gt;&lt;p&gt;The default, old-fashioned way to get a random number in JavaScript is by using Math.random(). However, the numbers produced from Math.random() are not secure for crypto applications as they are known to contain predictable patterns. The reason for this non-randomness isn&#039;t simply&lt;/p&gt;&lt;/li&gt;...&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Fri, 04 Mar 2016 16:35:00 +0000</pubDate>
 <dc:creator>tomo</dc:creator>
 <guid isPermaLink="false">38 at http://tech.saigonist.com</guid>
  </item>
  <item>
    <title>What is a pseudo-random number generator (PRNG) and why do they matter?</title>
    <link>http://tech.saigonist.com/b/code/what-pseudo-random-number-generator-prng-and-why-do-they-matter</link>
    <description>&lt;span class=&quot;submitted-by&quot;&gt;January 11, 2016&lt;/span&gt;&lt;div class=&quot;field_tags&quot;&gt;&lt;span class=&quot;label label-info&quot;&gt;&lt;a href=&quot;/tags/crypto&quot;&gt;crypto&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;label label-info&quot;&gt;&lt;a href=&quot;/tags/random&quot;&gt;random&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;label label-info&quot;&gt;&lt;a href=&quot;/tags/prng&quot;&gt;prng&lt;/a&gt;&lt;/span&gt; &lt;span class=&quot;label label-info&quot;&gt;&lt;a href=&quot;/tags/security&quot;&gt;security&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Recently, a problem was discovered in the pseudo-random number generator which Google Chrome and Node.js&#039;s V8 JavaScript engine uses and depends on. The problem was that a pattern was discovered in the series of numbers which the RNG algorithm produced, meaning you could guess the &quot;random&quot; outcome at a probability higher than chance, giving you an advantage - whether the application is breaking encryption or passwords or beating games of chance.&lt;/p&gt;

&lt;p&gt;Edward Snowden, who had worked for the CIA, warned of problems or backdoors in hardware random number generators which many computers...&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Mon, 11 Jan 2016 07:50:27 +0000</pubDate>
 <dc:creator>tomo</dc:creator>
 <guid isPermaLink="false">28 at http://tech.saigonist.com</guid>
  </item>
  </channel>
</rss>
