Random Art Generator
Every art generated by this generator has almost 0 probability of reappearing. This art consists of 10 points connected serially making it altogether 10 x coordinates and 10 y coordinates, generated randomly using JavaScript Math.random() function. The range being 0 to 50, the probability of getting 1 random number is 1/50, so obtaining 20 random numbers would would have the probability (1/50)20. After the set of 20 numbers is obtained, they are all randomly arranged which has 20! (~2.43 x 1018) possibilities.These randomly arranged integers are each serially labeled as a set of x,y coordinates and are relatively plotted in the canvas above. Just like the coordinates, the color that draws the art is also randomly generated. There are 256 values each of the three primary colors Red, Green and Blue making the total number of colors 2563 (without considering the alpha/opacity value). Now that we have all the possibilities listed, the ultimate probability of the art you’ve generated reappearing will be 1/((5020)(20!)(2563)) which is ~ 2.6 x 10-60 i.e. 1 in every 4.1 x 1057 generated art is redundant. The population of this world being only 7.9 x 109, the art being regenerated is almost impossible.
User Identity Confirmation System
"In what city were you born?"
"What was your favorite food as a child?"
"What high school did you attend?"
The prompts above are the common security questions that we may encounter when trying to access our internet accounts. These questions add an extra layer of security to our accounts. But is asking these questions only really sufficient to verify the account ownership? It is not always guaranteed that I am the only person who knows where my parents first met or what my first pet's name was. While the combination of these questions may provide good security, a stubborn intention could lead to cracking those answers.
What if we added to these prompts a question with an answer that is self-generated, easy to remember and unique to every user? Wouldn't adding a question that depends on what I have seen rather than what facts I, and maybe my close ones, remember give a much higher security to my account? Additionally, many researches suggest that people are much better at remembering things they can see, rather than raw facts or abstract concepts because everyone's reaction to art may be different and everyone has their own way of remembering what they’ve seen.
If users are prompted to select a randomly generated art while they set up their account, the coordinates of the selected art could be stored in an array in their account database. And when the time to confirm their identity arrives, they are to be asked to choose from different random arts and their initial art to spot the one they had selected during their initial setup.
Its practicality would definitely require a huge sample and data set but is definitely worth giving a shot if the account holds a great amount of confidentiality.