commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin van den Bemt <mll...@mvdb.net>
Subject Re: svn commit: r418646 - /jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomDataTest.java
Date Mon, 03 Jul 2006 22:10:21 GMT
Don't laugh :)
I read somewhere that linux will speed up doing encryption when eg the keyboard is used (those

tokens are used in the linux SecureRandom generator.

Disclaimer : I ain't no expert on this, just read something somewhere..

Mvgr,
Martin

psteitz@apache.org wrote:
> Author: psteitz
> Date: Sun Jul  2 13:31:25 2006
> New Revision: 418646
> 
> URL: http://svn.apache.org/viewvc?rev=418646&view=rev
> Log:
> Suspended setSecureAlgorithm test, since it takes several minutes on Ubuntu.
> 
> Modified:
>     jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomDataTest.java
> 
> Modified: jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomDataTest.java
> URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomDataTest.java?rev=418646&r1=418645&r2=418646&view=diff
> ==============================================================================
> --- jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomDataTest.java
(original)
> +++ jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomDataTest.java
Sun Jul  2 13:31:25 2006
> @@ -419,7 +419,7 @@
>              !hex.equals(randomData.nextSecureHexString(40))); 
>          
>          /* remove this test back soon,
> -         * since it takes about 4 seconds */
> +         * since it takes about 4 seconds 
>  
>          try {
>              randomData.setSecureAlgorithm("SHA1PRNG","SUN");
> @@ -443,6 +443,7 @@
>          } catch (NoSuchProviderException ex) {
>              ;
>          } 
> +        */
>          
>          // test reseeding without first using the generators
>          RandomDataImpl rd = new RandomDataImpl();
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message