Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] How do I add entropy?

On Sun, Sep 7, 2014 at 2:01 PM, Kent Borg <kentborg at> wrote:
>> Generating two 2kbit primes will consume a *lot* of entropy from
>> /dev/random, because each random candidate-prime must be tested by hundreds
>> of random 'witness' numbers (potentially upto 1kbit in size).
> Oops.

Yup. Generating large crypto-grade random primes is not something you
want to do frequently (as in, during a connection/transmission
protocol).  They should last years, and are used to protect
just-big-enough temporary keys that use entropy VERY efficiently.

But as frequently as you attend a PGP/GPG key-signing, bit efficiency
is rather less relevant than gas mileage to get there.

Bill Ricker
bill.n1vux at

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /