Search:

Type: Posts; User: veloz

Search: Search took 0.14 seconds.

  1. Re: Replace VB6's Rnd function with cryptographically secure alternative

    Randomize uses the timer, meaning the range of the seed can be guessed. The standard Rnd function is just not recommended for implementations where security is important.

    See:


    ...
  2. Re: Replace VB6's Rnd function with cryptographically secure alternative

    I don't need to. The whole point is to avoid a pattern, i.e. to make it truly random.

    * * *

    Thanks, Eduardo.

    What is VBA.Rnd? My guess is that you need to call the VB6's Rnd() inside a...
  3. Re: Replace VB6's Rnd function with cryptographically secure alternative

    There's no need to set the seed in most cases (like, >99%) if all you want is true randomization.

    Can you incorporate GenRnd() into Rnd() to make it a single function?
  4. Re: Replace VB6's Rnd function with cryptographically secure alternative

    @flyguille

    It's not for communication, no.

    * * *

    Here's a function by Bonnie West that I believe can be edited to replace Rnd:
  5. Replace VB6's Rnd function with cryptographically secure alternative

    I'm using the Rnd function to generate passwords. However, it's susceptible to brute-force attacks, regardless of the strength of the password itself which becomes (sort of) trivial when the aim of...
Results 1 to 5 of 5



Click Here to Expand Forum to Full Width