One of my uses of GS-Base is as a generator for mailmerge data that includes a generated password that’s supposed to be memorable and not guessable.
I do this by having a source table with a number of stored words in two columns and a function that selects a random word from each column and glues them together.
As far as it goes, it works fine.
But it seems to generate the same passwords on reuse. I think what I’m missing is a randomize function to ensure that the random number generator itself starts at a random point in the list of possibilities – in the old days when I used to write little programs myself, I’d have a function like randomize(time) somewhere at the top of the program.
I can’t find a similar function in GS-Base. Am I looking in the wrong place? Or thinking about the problem the wrong way?
(In case it helps, the function I use to do this in one of the databases I use this approach in is:
=concatenate((vLookup_ex("PasswordConstructor",(int(randBetween(0,16))+1),"Row","PassA",0)),(vLookup_ex("PasswordConstructor",(int(randBetween(0,16))+1),"Row","PassB",0)))
)
As always, thanks for any help you can give me and I hope everyone’s well!