syncthing/syncthing — pull request #1093 by calmh (2014-12-07 15:49:11+00:00)
Title: Refactor random string stuff and seeding

Make sure we have a good random seed on the default RNG, that the
predictable RNG is clearly marked as such, that random strings are
actually the length requested, and that they contain a restricted set of
characters only.