{"id":14199,"date":"2021-01-20T10:14:10","date_gmt":"2021-01-20T10:14:10","guid":{"rendered":"https:\/\/www.zapcompetitions.co.uk\/?p=14199"},"modified":"2023-09-12T09:14:55","modified_gmt":"2023-09-12T09:14:55","slug":"choosing-a-winner-how-random-is-a-random-number-generator","status":"publish","type":"post","link":"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/","title":{"rendered":"Choosing A Winner: How random is a Random Number Generator?"},"content":{"rendered":"

Flipping a coin, rolling a pair of dice, shuffling a deck of cards… In the past, these were popular ways to achieve an unpredictable and random result. Nowadays we have modern technology to generate random numbers for us. Software used for this function are known as Random Number Generators (or RNGs when abbreviated).<\/strong><\/p>\n

Random numbers are useful for a variety of purposes, from data encryption to science experiments and gaming. RNGs are used by our competition clients for Live Draws<\/a> to randomly choose a winner from the hundreds (sometimes thousands) of tickets. That\u2019s why we wanted to share a little bit of information on RNGs and whether they can be trusted to deliver unbiased results\u2026<\/p>\n

 <\/p>\n

\"\"<\/p>\n

 <\/p>\n

How do Random Number Generators work?<\/h3>\n

Random Number Generators use a computer algorithm to generate a set of random numbers which (should be) free of any patterns.<\/p>\n

As a computer\u2019s behaviour is, by design, entirely predictable, there\u2019s a tech buff out there who will be quick to tell you that results aren\u2019t truly random (Team Zap has two: Jon and Ross).<\/p>\n

The technical term for this is Pseudorandom<\/strong>…<\/p>\n

The maths behind RNGs is complex, but the algorithm always follows the same process. A seed value is used as a \u201cstarting point\u201d for creating random numbers. The program then uses this value when computing the numbers. If the seed value changes, so do the generated numbers, and a single seed value always produces the same numbers. This is why the numbers aren\u2019t a product of true randomness.<\/p>\n

Did that last paragraph make your brain hurt? It made mine hurt too. So, moving on!<\/p>\n

 <\/p>\n

\"\"<\/p>\n

 <\/p>\n

Can Random Number Generators be trusted?<\/h3>\n

If I haven\u2019t lost you to a wikihole on RNGs and the concept of randomness yet, you may be wondering, if RNGs aren\u2019t really random, are they still suitable for competitions?<\/p>\n

The short answer is yes.<\/p>\n

There\u2019s the argument that nothing is truly random (looking into this will almost certainly lead you down a wikihole). There\u2019s also the assurance that RNGs are random enough<\/strong> – at least for gaming purposes. Going through the hassle of setting up a True Random Number Generator<\/a> would be of no benefit to the competition organiser or its entrants.<\/p>\n

It is, in theory, possible to hack an RNG<\/a> which uses a computer program, but it\u2019s also incredibly difficult to do so. If you are using an RNG to run competitions, just make sure that you are using a trusted and reputable piece of software. They will employ multiple defensive strategies, including encryption, changeable keys and other security software, which minimises the possibility of an outside attack.<\/p>\n

An extra layer of security is added by our very own Zap Competitions plugin<\/a> too! All ticket number assignments are randomised. This means that while a hacker might be able to calculate the next number an RNG will throw up, it\u2019s of no use to them if they can\u2019t then select the corresponding ticket number.<\/p>\n

 <\/p>\n

Looking for a web design service which specialises in competitions? Contact Team Zap<\/a> to find out more.<\/h4>\n","protected":false},"excerpt":{"rendered":"

Flipping a coin, rolling a pair of dice, shuffling a deck of cards… In the past, these were popular ways to achieve an unpredictable and random result. Nowadays we have modern technology to generate random numbers for us. Software used for this function are known as Random Number Generators (or RNGs when abbreviated). Random numbers<\/p>\n","protected":false},"author":2,"featured_media":17030,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[],"acf":[],"yoast_head":"\nChoosing A Winner: How random is a Random Number Generator? - Zap Competitions<\/title>\n<meta name=\"description\" content=\"Ever wondered how a Random Number Generator worked? Find out how they generate random numbers and whether they can be trusted for competitions...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Choosing A Winner: How random is a Random Number Generator? - Zap Competitions\" \/>\n<meta property=\"og:description\" content=\"Ever wondered how a Random Number Generator worked? Find out how they generate random numbers and whether they can be trusted for competitions...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/\" \/>\n<meta property=\"og:site_name\" content=\"Zap Competitions\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-20T10:14:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-12T09:14:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.zapcompetitions.co.uk\/wp-content\/uploads\/2023\/09\/choosing-a-winner.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1540\" \/>\n\t<meta property=\"og:image:height\" content=\"870\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Lex Haringman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lex Haringman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/\",\"url\":\"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/\",\"name\":\"Choosing A Winner: How random is a Random Number Generator? - Zap Competitions\",\"isPartOf\":{\"@id\":\"https:\/\/www.zapcompetitions.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.zapcompetitions.co.uk\/wp-content\/uploads\/2023\/09\/choosing-a-winner.png\",\"datePublished\":\"2021-01-20T10:14:10+00:00\",\"dateModified\":\"2023-09-12T09:14:55+00:00\",\"author\":{\"@id\":\"https:\/\/www.zapcompetitions.co.uk\/#\/schema\/person\/d40cfbe46cfb1bacb6006cb80078efab\"},\"description\":\"Ever wondered how a Random Number Generator worked? Find out how they generate random numbers and whether they can be trusted for competitions...\",\"breadcrumb\":{\"@id\":\"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/#primaryimage\",\"url\":\"https:\/\/www.zapcompetitions.co.uk\/wp-content\/uploads\/2023\/09\/choosing-a-winner.png\",\"contentUrl\":\"https:\/\/www.zapcompetitions.co.uk\/wp-content\/uploads\/2023\/09\/choosing-a-winner.png\",\"width\":1540,\"height\":870},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.zapcompetitions.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Choosing A Winner: How random is a Random Number Generator?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.zapcompetitions.co.uk\/#website\",\"url\":\"https:\/\/www.zapcompetitions.co.uk\/\",\"name\":\"Zap Competitions\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.zapcompetitions.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.zapcompetitions.co.uk\/#\/schema\/person\/d40cfbe46cfb1bacb6006cb80078efab\",\"name\":\"Lex Haringman\",\"url\":\"https:\/\/www.zapcompetitions.co.uk\/author\/lexharingman\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Choosing A Winner: How random is a Random Number Generator? - Zap Competitions","description":"Ever wondered how a Random Number Generator worked? Find out how they generate random numbers and whether they can be trusted for competitions...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/","og_locale":"en_US","og_type":"article","og_title":"Choosing A Winner: How random is a Random Number Generator? - Zap Competitions","og_description":"Ever wondered how a Random Number Generator worked? Find out how they generate random numbers and whether they can be trusted for competitions...","og_url":"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/","og_site_name":"Zap Competitions","article_published_time":"2021-01-20T10:14:10+00:00","article_modified_time":"2023-09-12T09:14:55+00:00","og_image":[{"width":1540,"height":870,"url":"https:\/\/www.zapcompetitions.co.uk\/wp-content\/uploads\/2023\/09\/choosing-a-winner.png","type":"image\/png"}],"author":"Lex Haringman","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lex Haringman","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/","url":"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/","name":"Choosing A Winner: How random is a Random Number Generator? - Zap Competitions","isPartOf":{"@id":"https:\/\/www.zapcompetitions.co.uk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/#primaryimage"},"image":{"@id":"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zapcompetitions.co.uk\/wp-content\/uploads\/2023\/09\/choosing-a-winner.png","datePublished":"2021-01-20T10:14:10+00:00","dateModified":"2023-09-12T09:14:55+00:00","author":{"@id":"https:\/\/www.zapcompetitions.co.uk\/#\/schema\/person\/d40cfbe46cfb1bacb6006cb80078efab"},"description":"Ever wondered how a Random Number Generator worked? Find out how they generate random numbers and whether they can be trusted for competitions...","breadcrumb":{"@id":"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/#primaryimage","url":"https:\/\/www.zapcompetitions.co.uk\/wp-content\/uploads\/2023\/09\/choosing-a-winner.png","contentUrl":"https:\/\/www.zapcompetitions.co.uk\/wp-content\/uploads\/2023\/09\/choosing-a-winner.png","width":1540,"height":870},{"@type":"BreadcrumbList","@id":"https:\/\/www.zapcompetitions.co.uk\/choosing-a-winner-how-random-is-a-random-number-generator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.zapcompetitions.co.uk\/"},{"@type":"ListItem","position":2,"name":"Choosing A Winner: How random is a Random Number Generator?"}]},{"@type":"WebSite","@id":"https:\/\/www.zapcompetitions.co.uk\/#website","url":"https:\/\/www.zapcompetitions.co.uk\/","name":"Zap Competitions","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.zapcompetitions.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.zapcompetitions.co.uk\/#\/schema\/person\/d40cfbe46cfb1bacb6006cb80078efab","name":"Lex Haringman","url":"https:\/\/www.zapcompetitions.co.uk\/author\/lexharingman\/"}]}},"_links":{"self":[{"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/posts\/14199"}],"collection":[{"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/comments?post=14199"}],"version-history":[{"count":1,"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/posts\/14199\/revisions"}],"predecessor-version":[{"id":17049,"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/posts\/14199\/revisions\/17049"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/media\/17030"}],"wp:attachment":[{"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/media?parent=14199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/categories?post=14199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zapcompetitions.co.uk\/wp-json\/wp\/v2\/tags?post=14199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}