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

[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to