[34] Results

Generate Random number with math/rand in Go

random-number

Random number is useful in many application. One such example is salting password to make in more secure. In this tutorial, we will learn how….... read more


Random number generation with crypto/rand in Go

random-number

Random number is useful in many applications. From salting password to enabling secure transactions. In this tutorial, we will learn how to generate random number….... read more


Golang : Generate random integer or float number

golang random number integer float

Was helping out a friend last Sunday to finish up his Golang project and encounter a problem where we need….... read more


Golang : Random integer with rand.Seed() within a given range

golang random number integer rand-seed

Need to generate a random single integer within a given number range. For example, get one random integer from 1….... read more


Java : Random alphabets, alpha-numeric or numbers only string generator

java random string alphanumeric

A simple Java function to generate random string based on given parameter - alpha, alphanum and numeric. Depending on the….... read more


Golang : How to convert a number to words

golang translate-number-to-words convert-number

I need to translate a given number into words such as 100 to one hundred. The code below is a….... read more


Golang : Flip coin example

golang flip-coin random

This is a simple program to simulate flip coin that I use to train a small artificial intelligence program. Basically….... read more


Golang : Random Rune generator

golang random rune string

Just a quick tutorial on how to generate random runes and add on to previous tutorial on how….... read more


Advertisement