Random thoughts on random strings - Jonathan Street

Courtesy Planet PHP  Wed, 07/02/2008 - 13:09

I first started to think about random strings when going through the process of registering an application for Windows Delegated Authentication service.

As part of the application you are asked to provide a secret key. You want this to be difficult to guess so a random string is going to be best.

Humans are astoundingly bad at being random and I just slapped the keyboard a few times until I felt I had the required 16 characters.

Writing some...

Sponsors


 

Related news items

Jonathan Street's Blog: Random thoughts on random strings
On his blog, Jonathan Street has posted some "random thoughts" on generating random (or not so random) strings in PHP. Humans are astoundingly bad...

Jonathan Street's Blog: Book Review: "Practical Web 2.0 Applicat...
Jonathan Street has posted a review of a book from Quentin Zervaas - "Practical Web 2.0 Applications with PHP". If you are already comfortable...

Windows Live Contacts coming to PEAR - Jonathan Street
I've spoken previously about Windows Live Contacts but never really did much with it. I didn't have an immediate use for it and I was growing...

Jonathan Street's Blog: Book Review: "Pro PHP: Patterns, Framewo...
Jonathan Street has posted a review of APress Publishing's "Pro PHP: Patterns, Frameworks, Testing and More" (by Kevin McArthur): When the title...

Site News: Blast from the Past - One Year Ago in PHP
Here's what was popular in the PHP community one year ago today:PHP 10.0 Blog: Kill resources Alison Holloway's Blog: PHP 5.2.2 Setup on Windows Nick...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com