[14] Results

Generate Random number with math/rand in Go


Random number is useful in many application. One such example is salting password to make in more secure. In this….... read more

Random number generation with crypto/rand in Go


Random number is useful in many applications. From salting password to enabling secure transactions.

In this tutorial, we will….... read more

Javascript : Generate random key with specific length

javascript random-string

Was looking for a way to generate random string with Javascript today and also wanted to limit the random string….... 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

Golang : Display advertisement images or strings on random order

golang advertisement shuffle random

This is a Golang add on for my previous tutorial on how to display random advertisements with PHP….... 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 : Scramble and unscramble text message by randomly replacing words

golang rotrandom word-substitution roll-dice map

For this tutorial, we will learn how to make a text string unreadable by replacing some of the words inside….... read more