Random
99100101102103104105106107108
runTest(); } @Test public void loadTest() throws Exception { Random random = new BouncyCastleRandom(); loadTest(new AES128CBC.Factory(), random); loadTest(new BlowfishCBC.Factory(), random); loadTest(new TripleDESCBC.Factory(), random); }
3738394041424344
System.out.println("JCE: " + t + " micro"); } @Test public void testBc() { long t = test(new BouncyCastleRandom()); System.out.println("BC: " + t + " micro"); }
88899091929394959697
86878889909192939495
3637383940414243