lkml.org 
[lkml]   [1998]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel security questions
   Date: 	Mon, 16 Mar 1998 02:08:21 -0500 (EST)
From: Jon Lewis <jlewis@inorganic5.fdt.net>

urandom is the faster less secure random generator. Looking at a few dd's
from it, I would think it would work as well for this purpose. Instead of
using isalpha and friends, just make sure the char value is between 32 and
126. That'll give you a better range of usable but non-alpha characters.

/dev/urandom and /dev/random use the same algorithm for generating
random numbers, and so their speed is the same. The big difference
between the two is that the random number generator keeps traccxcxcx


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [from the cache]
©2003-2011 Jasper Spaans