Tagged: random


How To Generate Random Numbers and Password with OpenSSL Rand

OpenSSL is great library and tool set used in security related work. While talking security we can not deny that passwords and random numbers are important subjects. In this tutorial we will learn how to generate random numbers and passwords with OpenSSL. Generate Base64 Random Numbers Base64 is an encoding...


Random Number Generator In Python

Python is practical language which provides different functions in practical way. Random number are generally used in security related issues but there are other areas too. In this post we will look different random number generation examples about python. Generate Random Number Between 0 and 1 Python provides a library...


How To Generate Random Numbers In Linux

Generating random numbers can be seem odd. But it is very important for security. In security field whatever best chiper or algorithm you use if you can’t generate random numbers it is useless from point of view of security. So how can we generate random numbers in linux environment. Generate...


How To Shuffle/Randomize Array in PHP

There are different ways to randomly select elements of an array in PHP. But recurring elements are biggest problem most of them. Here the clean and PHP library supported solution for this. We will use shuffle() function which will change the positions of the given array. Shuffle Example shuffle() function accept only...

Enjoy this blog? Please spread the word :)