Embed
Email

Implementation Timings

Document Sample
Implementation Timings
Mode Text Length Implementation Object Creation 1 (ns) Object Creation 2 (ns) Object Creation 3 (ns) Object Creation 4 (ns) Object Creation 5 (ns) Avg Object Creation Avg Object Creation - last 4 (ns)

CBC Short Watne 63,137 13,968 11,734 11,734 11,734 22,461 12,293

CBC Short Sun Java 7,822 5,029 4,190 4,470 4,191 5,140 4,470

CBC Short Bouncy Castle 16,531,431 974,426 2,527,416 863,517 2,240,787 4,627,515 1,651,537



CBC Long Watne 18,159 14,527 6,705 9,499 9,219 11,622 9,988

CBC Long Sun Java 8,381 5,867 6,426 6,705 5,866 6,649 6,216

CBC Long Bouncy Castle 8,490,185 958,222 2,103,899 2,559,823 929,169 3,008,260 1,637,778



ECB Short Watne 28,496 6,984 5,587 5,307 5,588 10,392 5,867

ECB Short Sun Java 8,660 5,587 4,750 4,470 5,028 5,699 4,959

ECB Short Bouncy Castle 2,748,115 4,576,001 932,521 3,027,201 882,793 2,433,326 2,354,629



ECB Long Watne 15,645 9,499 8,381 8,660 9,219 10,281 8,940

ECB Long Sun Java 22,629 4,470 3,911 4,470 3,631 7,822 4,121

ECB Long Bouncy Castle 7,385,017 5,214,629 5,317,156 2,114,794 2,867,962 4,579,912 3,878,635







Avg Parameter Setting - last 4 (ns) Avg Parameter Setting - last 4 (ns)

CBC mode, short text CBC mode, long text







70,000 3,000,000





60,000

2,500,000





50,000

2,000,000



40,000

Avg Parameter Setting - last 4 (ns) 1,500,000 Avg Parameter Setting - last 4 (ns)



30,000



1,000,000

20,000





500,000

10,000





0 0



Watne Sun Java Bouncy Castle Watne Sun Java Bouncy Castle









Avg Parameter Setting - last 4 (ns) Avg Parameter Setting - last 4 (ns)

ECB mode, short text ECB mode, long text







40,000 160,000





35,000 140,000





30,000 120,000





25,000 100,000





20,000 Avg Parameter Setting - last 4 (ns) 80,000 Avg Parameter Setting - last 4 (ns)





15,000 60,000





10,000 40,000





5,000 20,000





0 0



Watne Sun Java Bouncy Castle Watne Sun Java Bouncy Castle









A1

Mode Text Length Implementation Parameter Setting 1 (ns) Parameter Setting 2 (ns) Parameter Setting 3 (ns) Parameter Setting 4 (ns) Parameter Setting 5 (ns) Avg Parameter Setting

CBC Short Watne 906,260 112,305 50,285 49,168 49,168 233,437

CBC Short Sun Java 52,521 25,981 22,349 22,629 22,070 29,110

CBC Short Bouncy Castle 98,337 21,232 31,010 12,013 26,540 37,826



CBC Long Watne 450,895 9,638,935 84,647 64,254 64,812 2,060,709

CBC Long Sun Java 155,048 132,698 131,860 136,050 129,346 137,000

CBC Long Bouncy Castle 242,489 1,052,089 75,149 74,031 59,784 300,708



ECB Short Watne 445,866 51,962 21,511 20,673 20,114 112,025

ECB Short Sun Java 54,477 32,127 25,980 23,466 26,261 32,462

ECB Short Bouncy Castle 418,209 77,663 14,248 31,288 13,410 110,964



ECB Long Watne 102,527 64,254 60,063 60,902 65,651 70,679

ECB Long Sun Java 183,822 61,739 58,388 58,387 56,991 83,865

ECB Long Bouncy Castle 159,238 141,918 141,079 129,904 138,006 142,029









A2

Mode Text Length Implementation Avg Parameter Setting - last 4 (ns) Key Generation 1 (ns) Key Generation 2 (ns) Key Generation 3 (ns) Key Generation 4 (ns) Key Generation 5 (ns) Avg Key Generation

CBC Short Watne 65,232 902,299,035 245,003 222,654 213,994 220,140 180,640,165

CBC Short Sun Java 23,257 144,991 101,409 77,105 77,663 56,990 91,632

CBC Short Bouncy Castle 22,699 868,125,976 62,298 60,343 30,730 42,464 173,664,362



CBC Long Watne 2,463,162 319,594 299,479 154,489 151,136 153,372 215,614

CBC Long Sun Java 132,489 127,670 85,765 99,175 99,734 69,842 96,437

CBC Long Bouncy Castle 315,263 557,938,230 60,343 55,035 578,286 31,289 111,732,637



ECB Short Watne 28,565 105,830,211 152,533 96,381 89,956 95,822 21,252,981

ECB Short Sun Java 26,959 138,844 94,426 85,486 81,016 65,650 93,084

ECB Short Bouncy Castle 34,152 1,079,477,420 67,327 39,111 66,769 27,657 215,935,657



ECB Long Watne 62,718 148,063 147,784 124,597 132,140 151,975 140,912

ECB Long Sun Java 58,876 317,481,132 46,375 49,168 48,331 29,054 63,530,812

ECB Long Bouncy Castle 137,727 88,559 82,133 80,178 68,165 72,077 78,222





Avg Key Generation - last 4 (ns) Avg IV Generation - last 4 (ns)

CBC mode, short text CBC mode, long text







250,000 140,000









120,000



200,000





100,000







150,000

80,000



Avg Key Generation - last 4 (ns) Avg IV Generation - last 4 (ns)



60,000

100,000







40,000





50,000



20,000









0 0



Watne Sun Java Bouncy Castle Watne Sun Java Bouncy Castle









A3

Mode Text Length Implementation Avg Key Generation - last 4 (ns) IV Generation 1 (ns) IV Generation 2 (ns) IV Generation 3 (ns) IV Generation 4 (ns) IV Generation 5 (ns) Avg IV Generation (ns)

CBC Short Watne 225,448 292,775 172,369 159,238 158,959 158,400 188,348

CBC Short Sun Java 78,292 160,356 127,670 120,965 120,965 120,407 130,073

CBC Short Bouncy Castle 48,959 1,076,953 529,956 60,064 857,092 84,368 521,687



CBC Long Watne 189,619 149,739 148,622 60,902 61,460 62,020 96,549

CBC Long Sun Java 88,629 134,654 127,390 132,699 128,508 134,375 131,525

CBC Long Bouncy Castle 181,238 74,870 58,387 55,315 63,416 53,079 61,013



ECB Short Watne 108,673

ECB Short Sun Java 81,645

ECB Short Bouncy Castle 50,216



ECB Long Watne 139,124

ECB Long Sun Java 43,232

ECB Long Bouncy Castle 75,638









A4

Mode Text Length Implementation Avg IV Generation - last 4 (ns) Encryption 1 (ns) Encryption 2 (ns) Encryption 3 (ns) Encryption 4 (ns) Encryption 5 (ns) Avg Encryption (ns) Avg Encryption - last 4 (ns)

CBC Short Watne 162,242 3,706,057 1,806,095 804,850 684,445 697,574 1,539,804 998,241

CBC Short Sun Java 122,502 2,139,378 539,733 543,924 540,851 545,879 861,953 542,597

CBC Short Bouncy Castle 382,870 24,699,229 250,312 305,905 257,854 245,282 5,151,716 264,838



CBC Long Watne 83,251 64,916,630 43,907,257 18,415,748 18,683,939 16,442,313 32,473,177 24,362,314

CBC Long Sun Java 130,743 25,259,355 29,322,721 21,431,215 23,043,990 21,133,133 24,038,083 23,732,765

CBC Long Bouncy Castle 57,549 30,394,366 11,513,196 8,989,132 9,533,614 9,379,963 13,962,054 9,853,976



ECB Short Watne 1,592,661 822,731 431,060 248,355 237,740 666,509 434,972

ECB Short Sun Java 6,574,579 6,117,817 584,432 616,279 1,275,022 3,033,626 2,148,388

ECB Short Bouncy Castle 41,667,866 291,098 204,496 282,997 245,003 8,538,292 255,899



ECB Long Watne 17,344,942 14,176,382 14,944,916 29,747,915 14,278,630 18,098,557 18,286,961

ECB Long Sun Java 22,044,701 12,288,992 10,137,880 8,791,340 8,974,045 12,447,392 10,048,064

ECB Long Bouncy Castle 20,465,729 20,244,193 25,364,397 23,573,387 20,914,669 22,112,475 22,524,162





Avg Encryption - last 4 (ns)

Avg Encryption - last 4 (ns)

CBC mode, short text

CBC mode, long text







1,200,000

30,000,000





1,000,000

25,000,000





800,000 20,000,000





600,000 Avg Encryption - last 4 (ns) 15,000,000 Avg Encryption - last 4 (ns)







400,000 10,000,000





200,000 5,000,000







0 0

Watne Sun Java Bouncy Castle Watne Sun Java Bouncy Castle









Avg Encryption - last 4 (ns) Avg Encryption - last 4 (ns)

ECB mode, short text ECB mode, long text









2,500,000 25,000,000









2,000,000 20,000,000









1,500,000 15,000,000





Avg Encryption - last 4 (ns) Avg Encryption - last 4 (ns)





1,000,000 10,000,000









500,000 5,000,000









0 0



Watne Sun Java Bouncy Castle Watne Sun Java Bouncy Castle









A5

Mode Text Length Implementation Decryption 1 (ns) Decryption 2 (ns) Decryption 3 (ns) Decryption 4 (ns) Decryption 5 (ns) Avg. Decryption (ns) Avg. Decryption - last 4 (ns) Total 1 (ns) Total 2 (ns)

CBC Short Watne 692,267 508,724 503,975 492,241 494,197 538,281 499,784 907,965,398 2,863,492

CBC Short Sun Java 414,857 395,302 417,372 381,054 741,156 469,948 483,721 2,924,394 1,199,594

CBC Short Bouncy Castle 198,629 717,968 126,552 125,714 125,994 258,971 274,057 910,734,745 2,559,823



CBC Long Watne 23,743,520 13,667,938 7,709,080 8,173,106 8,438,224 12,346,374 9,497,087 89,603,846 67,681,507

CBC Long Sun Java 2,413,435 3,932,902 3,634,261 2,115,632 1,852,750 2,789,796 2,883,886 28,103,013 33,612,093

CBC Long Bouncy Castle 1,226,133 477,993 459,276 479,670 472,686 623,152 472,406 598,369,904 14,123,862



ECB Short Watne 280,482 396,419 160,355 161,473 159,518 231,649 219,441 108,181,906 1,434,540

ECB Short Sun Java 666,844 479,111 1,233,956 1,525,334 1,096,787 1,000,406 1,083,797 7,448,153 6,733,537

ECB Short Bouncy Castle 273,498 143,314 141,638 141,638 396,978 219,413 205,892 1,124,589,298 5,159,315



ECB Long Watne 8,237,919 7,732,268 7,608,788 8,173,385 8,110,249 7,972,522 7,906,173 25,852,728 22,133,819

ECB Long Sun Java 940,902 878,882 881,956 819,378 831,670 870,558 852,972 340,677,377 13,284,090

ECB Long Bouncy Castle 2,747,835 2,676,877 3,301,258 5,902,147 560,127 3,037,649 3,110,102 30,850,569 28,364,499



Avg. Decryption - last 4 (ns)

Avg. Decryption - last 4 (ns)

CBC mode, short text

CBC mode, long text





600,000

10,000,000



9,000,000

500,000

8,000,000



7,000,000

400,000



6,000,000



300,000 Avg. Decryption - last 4 (ns) 5,000,000 Avg. Decryption - last 4 (ns)





4,000,000

200,000

3,000,000



2,000,000

100,000



1,000,000



0 0

Watne Sun Java Bouncy Castle Watne Sun Java Bouncy Castle









Avg. Decryption - last 4 (ns)

Avg. Decryption - last 4 (ns) ECB mode, long text

ECB mode, short text





9,000,000

1,200,000



8,000,000



1,000,000

7,000,000





6,000,000

800,000



5,000,000

600,000 Avg. Decryption - last 4 (ns)

Avg. Decryption - last 4 (ns)

4,000,000





400,000 3,000,000





2,000,000

200,000

1,000,000





0 0

Watne Sun Java Bouncy Castle Watne Sun Java Bouncy Castle









A6

Mode Text Length Implementation Total 3 (ns) Total 4 (ns) Total 5 (ns) Avg. Total (ns) Avg. Total - last 4 (ns)

CBC Short Watne 1,757,486 1,615,569 1,635,962 183,167,581 1,968,127

CBC Short Sun Java 1,190,654 1,151,823 1,495,442 1,592,381 1,259,378

CBC Short Bouncy Castle 3,115,200 2,150,552 2,769,346 184,265,933 2,648,730



CBC Long Watne 26,435,203 27,147,026 25,173,870 47,208,290 36,609,402

CBC Long Sun Java 25,440,105 25,535,647 23,330,060 27,204,184 26,979,476

CBC Long Bouncy Castle 11,741,716 13,293,030 10,929,602 129,691,623 12,522,053



ECB Short Watne 718,806 529,396 522,693 22,277,468 801,359

ECB Short Sun Java 1,939,353 2,255,594 2,473,498 4,170,027 3,350,496

ECB Short Bouncy Castle 1,335,645 3,553,804 1,569,473 227,241,507 2,904,559



ECB Long Watne 22,750,377 38,126,633 22,619,356 26,296,583 26,407,546

ECB Long Sun Java 11,134,935 9,725,817 9,899,302 76,944,304 11,011,036

ECB Long Bouncy Castle 34,208,817 31,793,147 24,557,590 29,954,924 29,731,013









A7

Short text:

This is a test.



Long text:

Hello....My name is John A. Watne and I live in Richfield, MN, after having lived ten years in St. Louis Park, MN -- home of Bye

[Dilbert Zone link.]



I am a senior business intelligence analyst at Target Financial Services, having previously worked for 17 years as an actuary at



Another choir whom I very much enjoy listening to is Cantus. I would like to thank my former Lutheran Brotherhood DR, Mike W

[The Norm link.]



Please feel free to check the newest additions to my site: the new Mandelbrot and Julia Sets Java Applet page, updates to my "



Key size for all tests: 128-bit

Louis Park, MN -- home of Byerly's flagship supermarket.





ked for 17 years as an actuary at Thrivent Financial for Lutherans, and am pursuing a Master of Science in Software Engineering through the



utheran Brotherhood DR, Mike Wenzel, for inviting me to one of their concerts and thereby making me aware of them.





ava Applet page, updates to my "Photography, Art, and Entertainment – Movies Multimedia, and Computer Games" page to include multiple

ware Engineering through the University of St. Thomas' Graduate Programs in Software program. I enjoy bicycling, Lutheranism, cars, family









es" page to include multiple screen captures from The Sims 2 with multiple expansion packs, some additions to my "Television and Radio" p

ng, Lutheranism, cars, family and friends, photography, art, and entertainment; math (especially fractal geometry), Subway sandwiches, trave









my "Television and Radio" page, the "Day of Photographs" gallery in the "Photography, Art, & Entertainment " section, and the demonstration

), Subway sandwiches, travel, the music of Weird Al Yankovic and other musicians featured on The Dr. Demento Show (the unofficial site ha









ection, and the demonstration page that breaks in Internet Explorer but not other modern browsers.

o Show (the unofficial site has more info, including a list of live RealAudio and NetShow links), "The Norm", and Dilbert.


Related docs
Other docs by TaylorRandle
A Basic Look at the Aether
Views: 13  |  Downloads: 2
Re Food Culture The European Mesolithic.
Views: 45  |  Downloads: 1
Re the principle of induction
Views: 10  |  Downloads: 0
C++ Programming Certificate
Views: 10  |  Downloads: 0
sci.archaeology Re Why TEN Commandments `~
Views: 10  |  Downloads: 0
SYSPREP
Views: 17  |  Downloads: 0
By registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!