Hi all, On Wed, Feb 25, 2015 at 6:33 AM, Anthony Ferrara <ircmax...@gmail.com> wrote:
> On Tue, Feb 24, 2015 at 4:17 PM, Pádraic Brady <padraic.br...@gmail.com> > wrote: > > Hi > > > > On 24 February 2015 at 20:04, Anthony Ferrara <ircmax...@gmail.com> > wrote: > >> If random_bytes() is harder than uniqid(), it's a non-starter. > > > > Technically, it will be harder than uniqid() if producing strictly > > random bytes (if output needs to be printable/readable). > > That's not a "bad" thing obviously! > > Sure. But does that indicate the need for a "random_string()" function? > > I don't know... Random bytes is better. People would use it for IV or like with the size of IV. If we use string, users loose effective bits. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net