Din drivers/char/random.c :
* [...] /dev/random is suitable for use when very high
* quality randomness is desired (for example, for key generation or
* one-time pads), as it will only return a maximum of the number of
* bits of randomness (as estimated by the random number generator)
* contained in the entropy pool.
*
* The /dev/urandom device does not have this limit, and will return
* as many bytes as are requested. As more and more random bytes are
* requested without giving time for the entropy pool to recharge,
* this will result in random numbers that are merely cryptographically
* strong. For many applications, however, this is acceptable.
Incearca ceva de genul
dd bs=1 if=/dev/random | od
O sa vezi ca la un moment dat se opreste sau incetineste. Incearca sa
misti mouse-ul sau sa folosesti tastatura :-)
/dev/random folosete, pe langa altele, tastatura si mouse-ul ca input in
"entropy pool".
-iulian
Marius Stan wrote:
> Mihai Rusu wrote:
>
>
>>On Wed, 22 Dec 2004, Marius Stan wrote:
>>
>>/dev/random nu da date asa de repede cum vrei tu. De altfel ma cam
>>mir ca ti-a dat 100M intr-un timp relativ scurt. Incearca /dev/urandom
>>sau /dev/zero.
>>
>>
>>
>
> 10x, a mers din /dev/urandom; nu vroiam sa dau din /dev/zero ca sa
> exclud ipoteza compresiei gz in apache
> Totusi, daca /dev/random nu da datele asa de repede, n-ar fi trebuit ca
> dd sa stea dupa el pina le primea ?
> Cum ar fi sa dau dd de pe un floppy si sa primesc o juma' de imagine ca
> deh, floppyul e mai incet ??
>
> Marius
>
> ---
> Detalii despre listele noastre de mail: http://www.lug.ro/
>
>
>
---
Detalii despre listele noastre de mail: http://www.lug.ro/