{"id":2973,"date":"2026-11-10T08:04:09","date_gmt":"2026-11-10T08:04:09","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=random-number-generator"},"modified":"2026-11-10T08:04:09","modified_gmt":"2026-11-10T08:04:09","slug":"random-number-generator","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=random-number-generator","title":{"rendered":"Random Number Generator"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Computers usually create pseudo-random numbers from a formula and a starting value, which look random but can be repeated. Security systems use better sources of randomness, such as hardware noise, to make codes hard to guess.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Weak randomness makes passwords, codes and tokens easier for attackers to predict, and unfair draws damage trust.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A radio station in Kisumu picks a competition winner using a documented random number generator so listeners accept the result.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use trusted security libraries for codes and tokens rather than home-made random functions.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A program or device that produces numbers with no predictable pattern, used in games, draws and security.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[23],"dc_topic":[34],"class_list":["post-2973","dc_term","type-dc_term","status-publish","hentry","dc_letter-r","dc_topic-software-and-development"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/2973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":0,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/2973\/revisions"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2973"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=2973"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=2973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}