antirez 0d76782d97 getRandomHexChars(): use /dev/urandom just to seed.
On Darwin /dev/urandom depletes terribly fast. This is not an issue
normally, but with Redis Cluster we generate a lot of unique IDs, for
example during nodes handshakes. Our IDs need just to be unique without
other strong crypto requirements, so this commit turns the function into
something that gets a 20 bytes seed from /dev/urandom, and produces the
rest of the output just using SHA1 in counter mode.
2015-01-21 23:21:55 +01:00
..
2012-04-13 17:52:33 -07:00
2014-09-29 06:49:07 -04:00
2014-08-08 10:43:54 +02:00
2013-01-19 10:59:44 +01:00
2015-01-21 18:47:16 +01:00
2014-12-12 12:02:39 +09:00
2014-09-29 06:49:08 -04:00
2014-12-14 12:25:42 +02:00
2015-01-09 11:53:51 +01:00
2014-07-02 17:04:14 +02:00
2014-08-08 14:54:02 +02:00
2014-12-23 09:31:02 -05:00
2015-01-02 11:16:08 -05:00
2014-08-08 10:05:32 +02:00
2015-01-08 09:52:55 +01:00
2014-08-08 14:54:02 +02:00
2014-12-23 09:31:03 -05:00
2015-01-02 11:16:08 -05:00
2014-07-02 16:31:22 +02:00
2014-12-21 16:13:45 +02:00
2011-07-06 15:22:00 +02:00
2015-01-02 11:16:08 -05:00
2015-01-02 11:16:08 -05:00