Difference between revisions of "/dev/urandom"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page Urandom to /dev/urandom)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
  head -10 [[/dev/]][[urandom]] | [[sha512sum]] | cut -b 1-30
+
[[head]] -10 [[/dev/]][[urandom]] | [[sha512sum]] | cut -b 1-30
 +
 
 +
[[head]] -c 16 /dev/urandom | [[od]] -An -t x | tr -d ' '
  
  
Line 10: Line 12:
 
   default should proceed at the speed of the disk.  Previously /dev/urandom
 
   default should proceed at the speed of the disk.  Previously /dev/urandom
 
   was used if available, which is relatively slow on GNU/Linux systems.
 
   was used if available, which is relatively slow on GNU/Linux systems.
 +
 +
== Related ==
 +
* <code>[[/dev/random]]</code>
 +
* [[Password generation]]
  
 
== See also ==
 
== See also ==

Latest revision as of 13:36, 8 October 2022

wikipedia:urandom


head -10 /dev/urandom | sha512sum | cut -b 1-30
head -c 16 /dev/urandom | od -An -t x | tr -d ' '


https://github.com/coreutils/coreutils/blob/master/NEWS

 shred, sort, shuf: now use an internal pseudorandom generator by default.
 This is mainly noticeable in shred where the 3 random passes it does by
 default should proceed at the speed of the disk.  Previously /dev/urandom
 was used if available, which is relatively slow on GNU/Linux systems.

Related[edit]

See also[edit]

Advertising: