classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Re: RFC: GNU Crypto and Jessie (again)


From: Raif S. Naffah
Subject: [cp-patches] Re: RFC: GNU Crypto and Jessie (again)
Date: Tue, 24 Jan 2006 04:34:35 +1100
User-agent: KMail/1.9.1

hello Casey,

On Monday 23 January 2006 16:31, Casey Marshall wrote:
> On Jan 22, 2006, at 3:19 PM, Mark Wielaard wrote:
> > On Sat, 2006-01-21 at 19:06 -0800, Casey Marshall wrote:
> >> I've finished splitting GNU Crypto along "weak" and "strong"
> >> lines, reformatted the code in GNU Crypto, and added the correct
> >> copyright headers to all the files. The resulting patch, and zip
> >> file of new files is here:
> >>
> >>    <http://metastatic.org/source/gnu-crypto-jessie-2.patch.txt>
> >>    <http://metastatic.org/source/gnu-crypto-jessie-2.zip>

i see that the utility class PRNG has been removed and its uses have 
been replaced by (potentially multiple) "new SecureRandom()" 
invocations.  wouldn't it be more efficient to keep PRNG and re-write 
it to use the CSPRNG if/when present (by reflection as you did with the 
KeyPairGeneratorFactory), or seed the MDGenerator?


cheers;
rsn

Attachment: pgpHRARf5AyFB.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]