Re: abt encryption algorithm
See all the above posts.
I actually translated the following into human and can respond:
the '10' is a seed to the random number generator that makes the rand() function actually return random values. Every number that is passed will return a different list of numbers. The same number returns the same list. Therefore you are able to test your code easily knowing what random list is going to be returned.
Originally posted by purIn
srand(10); on top of the program -- // Init the random number generator with "10"...
i dun get it.. pls enlighten mi..
To actually randomize the list, add the time.h header and change the statement to:
gd lk n yr pgmg ndvrs.