public void testECDSASpeed () throws ValidationException
{
ECKeyPair key = ECKeyPair.createNew (true);
byte[] data = new byte[32];
random.nextBytes (data);
byte[] signature = key.sign (data);
long cpu = -mxb.getCurrentThreadUserTime ();
for ( int i = 0; i < 100; ++i )
{
assertTrue (key.verify (data, signature));
}