keepassx/keepassx — pull request #21 by debfx (2013-10-05 12:58:47+00:00)
Title: Avoid modulo bias in Random::randomUInt().

Generate random numbers in a loop until we get one that is below the largest number where rand%limit==0.