kiesel/johanna — pull request #6 by sfuhrm (2014-11-12 11:39:06+00:00)
Title: Added secure random support for session ids that seem to be somehow cryp...

...tographically secure and unpredictable.

I've deprecated the MD5 and UUID identifier factories because they produce predictable identifiers. I've added a secure random identifier that is cryptographically robust.
Out of that I've moved the common code for extracting the 8-char-prefix to a common place for easier refactoring.

It's interesting on how to continue here: Pseudo randomness is usually not desired in session ids, but it may be ok for some usages.