Re: generating keys by using only part of longer random number
- From: David Eather <eather@xxxxxxxxxx>
- Date: Tue, 10 Jun 2008 19:59:03 +1000
Kristian Gjøsteen wrote:
Kim Schulz <kimusan@xxxxxxxxx> wrote:If I have a random number generator that e.g. generates 512bit long
keys but I only need 160bits of them. Would the quality of the
randomness then be compromised if I always just uses the first 160bits
of the key?
If the generator samples 512 bit strings from the uniform distribution
(or something that looks like the uniform distribution), then it is
ok. Otherwise, it depends on the exact distribution.
The OP might want to look for BBS stream generator
http://en.wikipedia.org/wiki/Blum_Blum_Shub
Which may be useful for the job
.
- Follow-Ups:
- Re: generating keys by using only part of longer random number
- From: Kim Schulz
- Re: generating keys by using only part of longer random number
- References:
- generating keys by using only part of longer random number
- From: Kim Schulz
- Re: generating keys by using only part of longer random number
- From: Kristian Gjøsteen
- generating keys by using only part of longer random number
- Prev by Date: Re: ADVERT: Secure communications
- Next by Date: Re: generating keys by using only part of longer random number
- Previous by thread: Re: generating keys by using only part of longer random number
- Next by thread: Re: generating keys by using only part of longer random number
- Index(es):
Relevant Pages
|