Skip to content
Snippets Groups Projects
Commit 898ad56b authored by Viken's avatar Viken
Browse files

Update of the 25th of july

parent 11e55a91
No related branches found
No related tags found
No related merge requests found
Showing
with 256 additions and 30 deletions
algo,key_length,block_length,operation,integrity,implementation_size,ram_consumption,throughput,execution_time,memory_usage,encrypted_file_size
AES,16,16,Encryption,False,216.0,1276.27,6170612.578258936,0.00012505000000000542,930.31,105.0
AES,16,16,Decryption,False,216.0,1244.2,6346504.808999408,5.289000000000432e-05,546.4,0.0
AES,16,16,Encryption + Decryption,False,432.0,2520.4700000000003,12517117.387258343,0.00017794000000000975,1476.71,0.0
AES,24,16,Encryption,False,216.0,1239.76,6238754.967005663,5.4349999999999674e-05,546.24,105.0
AES,24,16,Decryption,False,216.0,1240.0,6312906.314206473,5.355000000000776e-05,546.0,0.0
AES,24,16,Encryption + Decryption,False,432.0,2479.76,12551661.281212136,0.00010790000000000743,1092.24,0.0
AES,32,16,Encryption,False,216.0,1240.0,6498843.191526806,5.166000000000115e-05,546.0,105.0
AES,32,16,Decryption,False,216.0,1240.0,6289383.008571083,5.2890000000002104e-05,546.0,0.0
AES,32,16,Encryption + Decryption,False,432.0,2480.0,12788226.200097889,0.00010455000000000325,1092.0,0.0
DES,8,8,Encryption,True,216.0,745.37,4546841.2778030215,0.00010301000000000116,609.47,105.0
DES,8,8,Decryption,True,216.0,732.2,7342353.512019957,4.3330000000002535e-05,449.4,0.0
DES,8,8,Encryption + Decryption,True,432.0,1477.5700000000002,11889194.789822979,0.0001463400000000037,1058.87,0.0
SIMON,64,32,Encryption,True,1944.0,3220.0,308431.2176568782,0.0037512300000000264,1684.96,180.0
SIMON,64,32,Decryption,True,1944.0,3220.0,276646.61603429355,0.004077979999999968,1672.0,0.0
SIMON,64,32,Encryption + Decryption,True,3888.0,6440.0,585077.8336911717,0.007829209999999994,3356.96,0.0
SIMON,96,48,Encryption,False,1880.0,2832.0,205594.41078557176,0.003946119999999984,1840.0,152.0
SIMON,96,48,Decryption,False,1880.0,2864.0,173750.19188585508,0.004552330000000016,1836.0,0.0
SIMON,96,48,Encryption + Decryption,False,3760.0,5696.0,379344.60267142684,0.008498450000000001,3676.0,0.0
SIMON,96,64,Encryption,True,1816.0,2488.0,111837.37088831404,0.004501450000000035,2112.0,128.0
SIMON,96,64,Decryption,True,1816.0,2488.0,124915.56377235289,0.0038511800000000517,2112.0,0.0
SIMON,96,64,Encryption + Decryption,True,3632.0,4976.0,236752.9346606669,0.008352630000000087,4224.0,0.0
SIMON,128,64,Encryption,True,1816.0,2516.0,121701.2424612159,0.004188360000000025,2180.0,128.0
SIMON,128,64,Decryption,True,1816.0,2516.0,112240.38757467321,0.0044523199999999055,2180.0,0.0
SIMON,128,64,Encryption + Decryption,True,3632.0,5032.0,233941.6300358891,0.00864067999999993,4360.0,0.0
SIMON,128,128,Encryption,True,1752.0,2164.0,55553.8291309279,0.004714890000000036,3384.0,100.0
SIMON,128,128,Decryption,True,1752.0,2160.0,53405.86590047197,0.004818759999999971,3384.0,0.0
SIMON,128,128,Encryption + Decryption,True,3504.0,4324.0,108959.69503139987,0.009533650000000006,6768.0,0.0
SIMON,192,128,Encryption,True,1752.0,2200.0,54340.361780773674,0.004831590000000024,3424.0,100.0
SIMON,192,128,Decryption,True,1752.0,2200.0,53246.81470197518,0.00484529999999995,3424.0,0.0
SIMON,192,128,Encryption + Decryption,True,3504.0,4400.0,107587.17648274885,0.009676889999999973,6848.0,0.0
SIMON,256,128,Encryption,True,1752.0,2236.0,51968.148820796385,0.005237020000000037,3540.0,100.0
SIMON,256,128,Decryption,True,1752.0,2236.0,48700.555348443624,0.005557970000000046,3540.0,0.0
SIMON,256,128,Encryption + Decryption,True,3504.0,4472.0,100668.70416924001,0.010794990000000082,7080.0,0.0
SPECK,64,32,Encryption,True,1944.0,2460.0,725944.407665943,0.0012272799999999684,1354.8,180.0
SPECK,64,32,Decryption,True,1944.0,2460.0,623584.0200056252,0.0014163000000000814,1344.0,0.0
SPECK,64,32,Encryption + Decryption,True,3888.0,4920.0,1349528.4276715682,0.00264358000000005,2698.8,0.0
SPECK,96,48,Encryption,False,1880.0,2124.0,562066.5371362682,0.0010672400000000337,1352.0,152.0
SPECK,96,48,Decryption,False,1880.0,2152.0,495256.0784921132,0.0011908699999998885,1348.0,0.0
SPECK,96,48,Encryption + Decryption,False,3760.0,4276.0,1057322.6156283815,0.002258109999999922,2700.0,0.0
SPECK,96,64,Encryption,True,1816.0,1988.0,374449.99247090245,0.0009851599999999472,1484.0,124.0
SPECK,96,64,Decryption,True,1816.0,2036.0,352935.5512575563,0.0010886700000000626,1488.0,0.0
SPECK,96,64,Encryption + Decryption,True,3632.0,4024.0,727385.5437284587,0.00207383000000001,2972.0,0.0
SPECK,128,64,Encryption,True,1816.0,2048.0,375918.67177184677,0.0010145499999999075,1524.0,128.0
SPECK,128,64,Decryption,True,1816.0,2104.0,341477.7923129199,0.0011260399999998326,1524.0,0.0
SPECK,128,64,Encryption + Decryption,True,3632.0,4152.0,717396.4640847667,0.00214058999999974,3048.0,0.0
SPECK,128,128,Encryption,True,1752.0,1972.0,244069.6375238361,0.0008210299999999116,1788.0,100.0
SPECK,128,128,Decryption,True,1752.0,1988.0,229892.05917523545,0.0008724300000000618,1788.0,0.0
SPECK,128,128,Encryption + Decryption,True,3504.0,3960.0,473961.69669907156,0.0016934599999999735,3576.0,0.0
SPECK,192,128,Encryption,True,1752.0,2056.0,238669.7553850295,0.000835850000000029,1900.0,100.0
SPECK,192,128,Decryption,True,1752.0,2076.0,216263.04971360313,0.0009303000000000772,1900.0,0.0
SPECK,192,128,Encryption + Decryption,True,3504.0,4132.0,454932.80509863264,0.0017661500000001062,3800.0,0.0
SPECK,256,128,Encryption,True,1752.0,2188.0,232732.8032388413,0.0008570399999999445,1940.0,100.0
SPECK,256,128,Decryption,True,1752.0,2208.0,209783.84393081855,0.0009613099999999441,1940.0,0.0
SPECK,256,128,Encryption + Decryption,True,3504.0,4396.0,442516.64716965985,0.0018183499999998886,3880.0,0.0
File deleted
algo,key_length,nonce_length,operation,integrity,implementation_size,ram_consumption,throughput,execution_time,memory_usage,encrypted_file_size
AES,16,0,Encryption,True,216.0,1396.07,5579030.257874724,0.00013958999999999722,889.49,889.49
AES,16,0,Decryption,True,216.0,1365.2,5614692.597766195,7.211999999999774e-05,489.4,0.0
AES,16,0,Encryption + Decryption,True,432.0,2761.27,11193722.85564092,0.00021170999999999495,1378.8899999999999,0.0
AES,16,1,Encryption,True,216.0,1360.76,5662863.658971551,7.640000000001312e-05,494.02,494.02
AES,16,1,Decryption,True,216.0,1361.0,5631892.521212151,7.604000000000389e-05,489.0,0.0
AES,16,1,Encryption + Decryption,True,432.0,2721.76,11294756.180183701,0.00015244000000001702,983.02,0.0
AES,16,2,Encryption,True,216.0,1361.0,5651975.439863953,7.624999999999882e-05,524.0,524.0
AES,16,2,Decryption,True,216.0,1361.0,5664176.964860258,7.485000000000186e-05,524.0,0.0
AES,16,2,Encryption + Decryption,True,432.0,2722.0,11316152.40472421,0.0001511000000000007,1048.0,0.0
AES,16,3,Encryption,True,216.0,1361.0,4769813.359836198,0.00010021000000000057,525.0,525.0
AES,16,3,Decryption,True,216.0,1361.0,5738304.715214482,7.37800000000144e-05,525.0,0.0
AES,16,3,Encryption + Decryption,True,432.0,2722.0,10508118.07505068,0.00017399000000001497,1050.0,0.0
AES,16,4,Encryption,True,216.0,1361.0,5183472.898291466,8.842000000000127e-05,526.0,526.0
AES,16,4,Decryption,True,216.0,1361.0,5469912.49155869,7.76799999999933e-05,526.0,0.0
AES,16,4,Encryption + Decryption,True,432.0,2722.0,10653385.389850155,0.00016609999999999458,1052.0,0.0
AES,16,5,Encryption,True,216.0,1361.0,5743332.222187341,7.303000000000837e-05,527.0,527.0
AES,16,5,Decryption,True,216.0,1361.0,5525877.31205724,7.541000000000131e-05,527.0,0.0
AES,16,5,Encryption + Decryption,True,432.0,2722.0,11269209.534244582,0.00014844000000000969,1054.0,0.0
AES,16,6,Encryption,True,216.0,1361.0,5825153.935755184,7.184999999999886e-05,528.0,528.0
AES,16,6,Decryption,True,216.0,1361.0,5680798.40383267,7.32500000000036e-05,528.0,0.0
AES,16,6,Encryption + Decryption,True,432.0,2722.0,11505952.339587854,0.00014510000000000244,1056.0,0.0
AES,16,7,Encryption,True,216.0,1361.0,5523434.701151781,7.521000000000777e-05,529.0,529.0
AES,16,7,Decryption,True,216.0,1361.0,5907184.070323556,7.116999999999596e-05,529.0,0.0
AES,16,7,Encryption + Decryption,True,432.0,2722.0,11430618.771475337,0.00014638000000000373,1058.0,0.0
AES,16,8,Encryption,True,216.0,1361.0,5896663.765317724,6.933000000000855e-05,530.0,530.0
AES,16,8,Decryption,True,216.0,1361.0,6024493.802577559,6.685999999999858e-05,530.0,0.0
AES,16,8,Encryption + Decryption,True,432.0,2722.0,11921157.567895282,0.00013619000000000714,1060.0,0.0
AES,16,9,Encryption,True,216.0,1361.0,5690122.693581493,7.499000000000588e-05,531.0,531.0
AES,16,9,Decryption,True,216.0,1361.0,5630475.712475592,7.620000000000294e-05,531.0,0.0
AES,16,9,Encryption + Decryption,True,432.0,2722.0,11320598.406057086,0.00015119000000000883,1062.0,0.0
AES,16,10,Encryption,True,216.0,1361.0,5743222.061760393,7.671999999999235e-05,532.0,532.0
AES,16,10,Decryption,True,216.0,1361.0,5784068.786537678,7.111999999999341e-05,532.0,0.0
AES,16,10,Encryption + Decryption,True,432.0,2722.0,11527290.848298071,0.00014783999999998576,1064.0,0.0
AES,16,11,Encryption,True,216.0,1361.0,5422552.184880308,7.851000000001162e-05,533.0,533.0
AES,16,11,Decryption,True,216.0,1361.0,5561083.959301436,7.444999999999036e-05,533.0,0.0
AES,16,11,Encryption + Decryption,True,432.0,2722.0,10983636.144181743,0.00015296000000000198,1066.0,0.0
AES,16,12,Encryption,True,216.0,1361.0,5800495.483971383,7.098999999999078e-05,534.0,534.0
AES,16,12,Decryption,True,216.0,1361.0,5812096.83302864,6.957999999998688e-05,534.0,0.0
AES,16,12,Encryption + Decryption,True,432.0,2722.0,11612592.317000024,0.00014056999999997766,1068.0,0.0
AES,16,13,Encryption,True,216.0,1361.0,5809969.988464203,7.069999999998799e-05,535.0,535.0
AES,16,13,Decryption,True,216.0,1361.0,5731146.638343376,7.074000000001357e-05,535.0,0.0
AES,16,13,Encryption + Decryption,True,432.0,2722.0,11541116.626807578,0.00014144000000000157,1070.0,0.0
AES,16,14,Encryption,True,216.0,1361.0,5507765.6427280465,7.41000000000125e-05,536.0,536.0
AES,16,14,Decryption,True,216.0,1361.0,5491623.802444471,7.567999999998021e-05,536.0,0.0
AES,16,14,Encryption + Decryption,True,432.0,2722.0,10999389.445172518,0.0001497799999999927,1072.0,0.0
AES,16,15,Encryption,True,216.0,1361.0,5519099.318557475,8.416999999998343e-05,537.0,537.0
AES,16,15,Decryption,True,216.0,1361.0,5843558.793082462,6.478999999999457e-05,537.0,0.0
AES,16,15,Encryption + Decryption,True,432.0,2722.0,11362658.111639936,0.000148959999999978,1074.0,0.0
AES,24,0,Encryption,True,216.0,1361.0,4810432.200146344,8.986000000001271e-05,489.0,489.0
AES,24,0,Decryption,True,216.0,1361.0,5075893.782599297,7.64700000000218e-05,489.0,0.0
AES,24,0,Encryption + Decryption,True,432.0,2722.0,9886325.98274564,0.0001663300000000345,978.0,0.0
AES,24,1,Encryption,True,216.0,1361.0,4707090.790915624,8.805000000000618e-05,489.0,489.0
AES,24,1,Decryption,True,216.0,1361.0,4791630.6385141695,8.402000000000465e-05,489.0,0.0
AES,24,1,Encryption + Decryption,True,432.0,2722.0,9498721.429429794,0.0001720700000000108,978.0,0.0
AES,24,2,Encryption,True,216.0,1361.0,4165785.2969924896,0.00010023000000001004,524.0,524.0
AES,24,2,Decryption,True,216.0,1361.0,5720878.970726845,7.39599999999907e-05,524.0,0.0
AES,24,2,Encryption + Decryption,True,432.0,2722.0,9886664.267719334,0.00017419000000000074,1048.0,0.0
AES,24,3,Encryption,True,216.0,1361.0,5643070.152757943,7.69099999999967e-05,525.0,525.0
AES,24,3,Decryption,True,216.0,1361.0,5737710.697761285,7.365000000001176e-05,525.0,0.0
AES,24,3,Encryption + Decryption,True,432.0,2722.0,11380780.850519229,0.00015056000000000845,1050.0,0.0
AES,24,4,Encryption,True,216.0,1361.0,5656135.965291423,7.602000000000552e-05,526.0,526.0
AES,24,4,Decryption,True,216.0,1361.0,5774915.53618546,7.466000000000861e-05,526.0,0.0
AES,24,4,Encryption + Decryption,True,432.0,2722.0,11431051.501476884,0.00015068000000001414,1052.0,0.0
AES,24,5,Encryption,True,216.0,1361.0,5703522.241447342,7.408000000001858e-05,527.0,527.0
AES,24,5,Decryption,True,216.0,1361.0,5713511.711077094,7.286999999998711e-05,527.0,0.0
AES,24,5,Encryption + Decryption,True,432.0,2722.0,11417033.952524435,0.00014695000000000569,1054.0,0.0
AES,24,6,Encryption,True,216.0,1361.0,5660741.326179716,7.404000000000632e-05,528.0,528.0
AES,24,6,Decryption,True,216.0,1361.0,5642429.930774285,7.349000000000271e-05,528.0,0.0
AES,24,6,Encryption + Decryption,True,432.0,2722.0,11303171.256954001,0.00014753000000000904,1056.0,0.0
AES,24,7,Encryption,True,216.0,1361.0,5621124.858495708,7.320000000000881e-05,529.0,529.0
AES,24,7,Decryption,True,216.0,1361.0,5710348.040718616,7.250999999999452e-05,529.0,0.0
AES,24,7,Encryption + Decryption,True,432.0,2722.0,11331472.899214324,0.00014571000000000332,1058.0,0.0
AES,24,8,Encryption,True,216.0,1361.0,5776655.947807816,7.132000000000138e-05,530.0,530.0
AES,24,8,Decryption,True,216.0,1361.0,5761923.913616582,6.932000000000826e-05,530.0,0.0
AES,24,8,Encryption + Decryption,True,432.0,2722.0,11538579.861424398,0.00014064000000000963,1060.0,0.0
AES,24,9,Encryption,True,216.0,1361.0,5802409.832252035,7.31399999999982e-05,531.0,531.0
AES,24,9,Decryption,True,216.0,1361.0,5805439.928411982,7.131000000000665e-05,531.0,0.0
AES,24,9,Encryption + Decryption,True,432.0,2722.0,11607849.760664016,0.00014445000000000484,1062.0,0.0
AES,24,10,Encryption,True,216.0,1361.0,5648469.56057058,7.456999999998936e-05,532.0,532.0
AES,24,10,Decryption,True,216.0,1361.0,5610697.481299716,7.36799999999982e-05,532.0,0.0
AES,24,10,Encryption + Decryption,True,432.0,2722.0,11259167.041870296,0.00014824999999998756,1064.0,0.0
AES,24,11,Encryption,True,216.0,1361.0,5665029.998071857,7.343000000000987e-05,533.0,533.0
AES,24,11,Decryption,True,216.0,1361.0,5559934.919061153,7.632000000000305e-05,533.0,0.0
AES,24,11,Encryption + Decryption,True,432.0,2722.0,11224964.91713301,0.00014975000000001294,1066.0,0.0
AES,24,12,Encryption,True,216.0,1361.0,5881075.528067873,6.979000000000734e-05,534.0,534.0
AES,24,12,Decryption,True,216.0,1361.0,5800958.788225004,6.996000000001113e-05,534.0,0.0
AES,24,12,Encryption + Decryption,True,432.0,2722.0,11682034.316292878,0.00013975000000001847,1068.0,0.0
AES,24,13,Encryption,True,216.0,1361.0,5699556.121896639,7.282000000000455e-05,535.0,535.0
AES,24,13,Decryption,True,216.0,1361.0,5711632.101061106,7.038999999999795e-05,535.0,0.0
AES,24,13,Encryption + Decryption,True,432.0,2722.0,11411188.222957745,0.0001432100000000025,1070.0,0.0
AES,24,14,Encryption,True,216.0,1361.0,5521566.681893545,7.436999999998805e-05,536.0,536.0
AES,24,14,Decryption,True,216.0,1361.0,5777800.296293317,6.969000000000226e-05,536.0,0.0
AES,24,14,Encryption + Decryption,True,432.0,2722.0,11299366.978186863,0.0001440599999999903,1072.0,0.0
AES,24,15,Encryption,True,216.0,1361.0,6074386.322438529,6.293000000000104e-05,537.0,537.0
AES,24,15,Decryption,True,216.0,1361.0,6010951.813335471,6.120999999999377e-05,537.0,0.0
AES,24,15,Encryption + Decryption,True,432.0,2722.0,12085338.135774,0.0001241399999999948,1074.0,0.0
AES,32,0,Encryption,True,216.0,1361.0,5546038.566761851,7.141999999996872e-05,489.0,489.0
AES,32,0,Decryption,True,216.0,1361.0,5773525.171578643,6.924000000000375e-05,489.0,0.0
AES,32,0,Encryption + Decryption,True,432.0,2722.0,11319563.738340493,0.0001406599999999725,978.0,0.0
AES,32,1,Encryption,True,216.0,1361.0,5587335.819363155,7.709999999998774e-05,489.0,489.0
AES,32,1,Decryption,True,216.0,1361.0,5673234.1860208325,7.547999999999445e-05,489.0,0.0
AES,32,1,Encryption + Decryption,True,432.0,2722.0,11260570.005383987,0.0001525799999999822,978.0,0.0
AES,32,2,Encryption,True,216.0,1361.0,5634393.224378178,7.703000000000015e-05,524.0,524.0
AES,32,2,Decryption,True,216.0,1361.0,5719947.765387616,7.503999999999288e-05,524.0,0.0
AES,32,2,Encryption + Decryption,True,432.0,2722.0,11354340.989765793,0.00015206999999999303,1048.0,0.0
AES,32,3,Encryption,True,216.0,1361.0,5479699.269620626,7.961999999998692e-05,525.0,525.0
AES,32,3,Decryption,True,216.0,1361.0,5644095.145996685,7.585000000001285e-05,525.0,0.0
AES,32,3,Encryption + Decryption,True,432.0,2722.0,11123794.415617311,0.00015546999999999978,1050.0,0.0
AES,32,4,Encryption,True,216.0,1361.0,5664850.345395255,7.639999999999203e-05,526.0,526.0
AES,32,4,Decryption,True,216.0,1361.0,5706596.58031567,7.517999999997915e-05,526.0,0.0
AES,32,4,Encryption + Decryption,True,432.0,2722.0,11371446.925710924,0.00015157999999997117,1052.0,0.0
AES,32,5,Encryption,True,216.0,1361.0,5532246.860534601,7.641000000000454e-05,527.0,527.0
AES,32,5,Decryption,True,216.0,1361.0,5171035.805818012,8.25099999999912e-05,527.0,0.0
AES,32,5,Encryption + Decryption,True,432.0,2722.0,10703282.666352613,0.00015891999999999572,1054.0,0.0
AES,32,6,Encryption,True,216.0,1361.0,5398692.9326678105,8.028999999998288e-05,528.0,528.0
AES,32,6,Decryption,True,216.0,1361.0,5685647.34047822,7.43199999999944e-05,528.0,0.0
AES,32,6,Encryption + Decryption,True,432.0,2722.0,11084340.27314603,0.00015460999999997727,1056.0,0.0
AES,32,7,Encryption,True,216.0,1361.0,5838561.13988471,7.140000000001701e-05,529.0,529.0
AES,32,7,Decryption,True,216.0,1361.0,5614328.37342697,7.365999999997319e-05,529.0,0.0
AES,32,7,Encryption + Decryption,True,432.0,2722.0,11452889.51331168,0.0001450599999999902,1058.0,0.0
AES,32,8,Encryption,True,216.0,1361.0,5805779.689248475,7.035999999998932e-05,530.0,530.0
AES,32,8,Decryption,True,216.0,1361.0,5839803.192115119,6.827999999999168e-05,530.0,0.0
AES,32,8,Encryption + Decryption,True,432.0,2722.0,11645582.881363593,0.00013863999999998101,1060.0,0.0
AES,32,9,Encryption,True,216.0,1361.0,5709287.575039022,7.371000000001127e-05,531.0,531.0
AES,32,9,Decryption,True,216.0,1361.0,5758099.225825716,7.26100000000085e-05,531.0,0.0
AES,32,9,Encryption + Decryption,True,432.0,2722.0,11467386.800864737,0.00014632000000001975,1062.0,0.0
AES,32,10,Encryption,True,216.0,1361.0,5669792.044614158,7.413999999999365e-05,532.0,532.0
AES,32,10,Decryption,True,216.0,1361.0,5763194.495189981,7.183000000001272e-05,532.0,0.0
AES,32,10,Encryption + Decryption,True,432.0,2722.0,11432986.539804138,0.00014597000000000638,1064.0,0.0
AES,32,11,Encryption,True,216.0,1361.0,5668459.853613252,7.294000000000578e-05,533.0,533.0
AES,32,11,Decryption,True,216.0,1361.0,5777118.649547444,7.251999999998926e-05,533.0,0.0
AES,32,11,Encryption + Decryption,True,432.0,2722.0,11445578.503160696,0.00014545999999999505,1066.0,0.0
AES,32,12,Encryption,True,216.0,1361.0,5639335.82230227,7.271000000000027e-05,534.0,534.0
AES,32,12,Decryption,True,216.0,1361.0,5872608.420692743,6.866000000001371e-05,534.0,0.0
AES,32,12,Encryption + Decryption,True,432.0,2722.0,11511944.242995013,0.00014137000000001397,1068.0,0.0
AES,32,13,Encryption,True,216.0,1361.0,5707967.015167384,7.246999999999782e-05,535.0,535.0
AES,32,13,Decryption,True,216.0,1361.0,5943139.547787599,6.806000000000978e-05,535.0,0.0
AES,32,13,Encryption + Decryption,True,432.0,2722.0,11651106.562954985,0.0001405300000000076,1070.0,0.0
AES,32,14,Encryption,True,216.0,1361.0,5678571.988449894,7.208000000001435e-05,536.0,536.0
AES,32,14,Decryption,True,216.0,1361.0,5628007.931796632,7.292999999997774e-05,536.0,0.0
AES,32,14,Encryption + Decryption,True,432.0,2722.0,11306579.920246527,0.00014500999999999208,1072.0,0.0
AES,32,15,Encryption,True,216.0,1361.0,5945395.577818535,6.288999999999545e-05,537.0,537.0
AES,32,15,Decryption,True,216.0,1361.0,5927874.50172068,6.282000000000787e-05,537.0,0.0
AES,32,15,Encryption + Decryption,True,432.0,2722.0,11873270.079539215,0.00012571000000000332,1074.0,0.0
CHACHA,32,8,Encryption,True,216.0,182.88,9369610.589076923,3.2879999999997354e-05,521.27,521.27
CHACHA,32,8,Decryption,True,216.0,168.0,9250763.001110522,2.486999999999018e-05,401.0,0.0
CHACHA,32,8,Encryption + Decryption,True,432.0,350.88,18620373.590187445,5.774999999998753e-05,922.27,0.0
CHACHA,32,12,Encryption,True,216.0,168.0,9369260.54883917,2.515999999997742e-05,401.0,401.0
CHACHA,32,12,Decryption,True,216.0,168.0,9570053.40557077,2.3900000000003363e-05,401.0,0.0
CHACHA,32,12,Encryption + Decryption,True,432.0,336.0,18939313.954409942,4.9059999999980784e-05,802.0,0.0
CHACHA,32,24,Encryption,True,216.0,377.27,7432319.524045262,4.5559999999995606e-05,406.93,406.93
CHACHA,32,24,Decryption,True,216.0,366.0,7330954.424347593,4.27100000000169e-05,401.0,0.0
CHACHA,32,24,Encryption + Decryption,True,432.0,743.27,14763273.948392855,8.827000000001252e-05,807.9300000000001,0.0
SALSA,32,8,Encryption,True,216.0,185.64,9890698.863100028,3.1010000000004645e-05,500.15,500.15
SALSA,32,8,Decryption,True,216.0,168.0,10047009.728524005,2.2669999999982427e-05,401.0,0.0
SALSA,32,8,Encryption + Decryption,True,432.0,353.64,19937708.591624033,5.367999999998707e-05,901.15,0.0
SALSA,16,8,Encryption,True,216.0,168.0,9981467.440119065,2.3109999999983978e-05,401.0,401.0
SALSA,16,8,Decryption,True,216.0,168.0,9596187.92166358,2.414999999999834e-05,401.0,0.0
SALSA,16,8,Encryption + Decryption,True,432.0,336.0,19577655.361782648,4.725999999998232e-05,802.0,0.0
File deleted
......@@ -52,10 +52,11 @@ if __name__ == '__main__':
"throughput": [encryption[3], decryption[3], encryption[3]+ decryption[3]],
"execution_time": [encryption[4], decryption[4], encryption[4]+ decryption[4]],
"memory_usage": [encryption[5], decryption[5], encryption[5]+ decryption[5]],
"cpu_cycles": [encryption[6], decryption[6], encryption[6]+ decryption[6]],
'encrypted_file_size' : [encryption[6], 0, 0],
#"cpu_cycles": [encryption[6], decryption[6], encryption[6]+ decryption[6]],
"algo": "",
"key_length": 0,
"nonce_length": 0,
"block_length": 0,
}
# Add name and length of the key to the metrics dictionary
......@@ -71,7 +72,19 @@ if __name__ == '__main__':
df["operation"] = ["Encryption", "Decryption", "Encryption + Decryption"]
# Reorder the columns for better readability (optional)
df = df[['algo', 'key_length', 'operation', 'integrity', 'implementation_size', 'ram_consumption', 'throughput', 'execution_time', 'memory_usage', 'cpu_cycles']]
df = df[['algo',
'key_length',
'block_length',
'operation',
'integrity',
'implementation_size',
'ram_consumption',
'throughput',
'execution_time',
'memory_usage',
'encrypted_file_size'
#'cpu_cycles'
]]
df_list.append(df)
......@@ -79,8 +92,8 @@ if __name__ == '__main__':
combined_df = pd.concat(df_list, ignore_index=True)
# Write the DataFrame to an Excel file
output_file = 'metrics_block.xlsx'
combined_df.to_excel(output_file, index=False)
output_file = 'metrics_block.csv'
combined_df.to_csv(output_file, index=False)
......
......@@ -14,7 +14,7 @@ from measurements.measurement_functions.functions import measure_software_perfor
'''
MODE = AES.MODE_ECB
MODE = AES.MODE_CBC
LENGTHS = [[16,16],[24,16],[32,16]]
KEY_SIZES = [length[0] for length in LENGTHS]
......
......@@ -35,14 +35,20 @@ def measure_software_performance(func, *args, **kwargs):
The performance metrics can be used to assess the efficiency, speed, memory consumption,
and resource utilization of the cryptographic algorithm in a performance evaluation context.
"""
# Start tracemalloc to measure memory usage
# Perform input validation
if not callable(func):
raise ValueError("The 'func' parameter must be a callable function.")
# Measure implementation size
implementation_size = sys.getsizeof(func)
# Start tracemalloc to measure memory usage
tracemalloc.start()
# Measure time and CPU cycles
num_cycles = 100000
# Measure time
start_time = time.process_time()
result = func(*args, **kwargs)
end_time = time.process_time()
......@@ -51,21 +57,26 @@ def measure_software_performance(func, *args, **kwargs):
current, peak = tracemalloc.get_traced_memory()
tracemalloc.stop()
# Calculate throughput (byte/cycle)
cpu_cycles = end_time - start_time
throughput = implementation_size / cpu_cycles
# Calculate RAM consumption
ram_consumption = peak - current
# Calculate execution time in seconds
execution_time = end_time - start_time
# Calculate throughput (bytes/second)
throughput = sys.getsizeof(result) / execution_time
return [
result,
implementation_size,
ram_consumption,
throughput,
(end_time - start_time) * num_cycles,
execution_time,
current,
cpu_cycles,
sys.getsizeof(result)
#cpu_cycles,
]
......@@ -92,12 +103,12 @@ def average_measurements(num_iterations, measurement_func, *args, **kwargs):
# Accumulate the metrics by summing up individual values
metrics_sum[0] = metrics[0]
for j in range(6):
for j in range(len(metrics)-1):
metrics_sum[j + 1] += metrics[j + 1]
# Calculate the average by dividing the sum by the number of iterations
metrics_sum[0] = metrics[0]
for j in range(6):
for j in range(len(metrics)-1):
metrics_sum[j + 1] /= num_iterations
return metrics_sum
{"integrity": true, "implementation_size": [216.0, 216.0, 432.0], "ram_consumption": [1299.23, 1268.2, 2567.4300000000003], "throughput": [11044918.564329166, 10835040.237845793, 21879958.80217496], "execution_time": [11.690999999999447, 5.255999999999595, 16.946999999999043], "memory_usage": [845.63, 457.4, 1303.03], "cpu_cycles": [0.00011690999999999452, 5.2559999999995946e-05, 0.00016946999999999047], "algo": "AES", "key_length": 16, "nonce_length": 0, "block_length": 16}
\ No newline at end of file
{"integrity": true, "implementation_size": [216.0, 216.0], "ram_consumption": [1299.78, 1268.2], "throughput": [11741703.891365487, 12212127.07284655], "execution_time": [11.068000000000534, 4.367000000000787], "memory_usage": [845.08, 457.4], "cpu_cycles": [0.00011068000000000522, 4.367000000000787e-05], "algo": "AES", "key_length": 16}
\ No newline at end of file
{"integrity": true, "implementation_size": [216.0, 216.0, 432.0], "ram_consumption": [1264.0, 1264.0, 2528.0], "throughput": [10121686.282232236, 11506176.12817966, 21627862.410411894], "execution_time": [5.459999999999468, 4.583999999999923, 10.043999999999391], "memory_usage": [457.0, 457.0, 914.0], "cpu_cycles": [5.459999999999465e-05, 4.5839999999999216e-05, 0.00010043999999999387], "algo": "AES", "key_length": 24, "nonce_length": 0, "block_length": 16}
\ No newline at end of file
{"integrity": true, "implementation_size": [216.0, 216.0], "ram_consumption": [1264.0, 1264.0], "throughput": [11804352.743237093, 10938113.007496996], "execution_time": [4.448000000001229, 5.076000000000191], "memory_usage": [457.0, 457.0], "cpu_cycles": [4.4480000000012286e-05, 5.076000000000191e-05], "algo": "AES", "key_length": 24}
\ No newline at end of file
{"integrity": true, "implementation_size": [216.0, 216.0, 432.0], "ram_consumption": [1264.0, 1264.0, 2528.0], "throughput": [10525132.934539588, 11839190.52283404, 22364323.457373627], "execution_time": [5.262000000000101, 4.416999999999448, 9.678999999999549], "memory_usage": [457.0, 457.0, 914.0], "cpu_cycles": [5.2620000000001e-05, 4.416999999999449e-05, 9.678999999999549e-05], "algo": "AES", "key_length": 32, "nonce_length": 0, "block_length": 16}
\ No newline at end of file
{"integrity": true, "implementation_size": [216.0, 216.0], "ram_consumption": [1264.0, 1264.0], "throughput": [11616927.44854556, 11090906.740619192], "execution_time": [4.634999999999722, 5.153999999999326], "memory_usage": [457.0, 457.0], "cpu_cycles": [4.6349999999997223e-05, 5.1539999999993255e-05], "algo": "AES", "key_length": 32}
\ No newline at end of file
{"integrity": true, "implementation_size": [216.0, 216.0], "ram_consumption": [1298.75, 1268.2], "throughput": [4724803.305974775, 5302652.364864031], "execution_time": [20.968999999999788, 12.039000000000577], "memory_usage": [837.81, 457.96], "cpu_cycles": [0.00020968999999999795, 0.00012039000000000576], "key_name": "AES Key", "key_length": 16}
\ No newline at end of file
{"integrity": true, "implementation_size": [216.0, 216.0, 432.0], "ram_consumption": [737.25, 736.0, 1473.25], "throughput": [10383668.269773128, 11610814.995943923, 21994483.265717052], "execution_time": [5.75500000000051, 4.380000000000604, 10.135000000001114], "memory_usage": [518.99, 457.0, 975.99], "cpu_cycles": [5.75500000000051e-05, 4.380000000000606e-05, 0.00010135000000001116], "algo": "DES", "key_length": 8, "nonce_length": 0, "block_length": 8}
\ No newline at end of file
{"integrity": true, "implementation_size": [216.0, 216.0], "ram_consumption": [737.25, 736.0], "throughput": [11203291.787617851, 12018321.981822817], "execution_time": [6.40099999999999, 4.213999999999717], "memory_usage": [518.99, 457.0], "cpu_cycles": [6.40099999999999e-05, 4.213999999999718e-05], "algo": "DES", "key_length": 8}
\ No newline at end of file
{"integrity": true, "implementation_size": [216.0, 216.0], "ram_consumption": [810.35, 740.2], "throughput": [9589319.46384198, 10170695.693675905], "execution_time": [11.28200000000007, 5.157000000000133], "memory_usage": [779.99, 457.4], "cpu_cycles": [0.0001128200000000007, 5.157000000000134e-05]}
\ No newline at end of file
{"integrity": true, "implementation_size": [1752.0, 1752.0, 3504.0], "ram_consumption": [2164.0, 2164.0, 4328.0], "throughput": [506856.17381389457, 505344.10958947835, 1012200.2834033729], "execution_time": [489.4590000000062, 494.4329999999898, 983.891999999996], "memory_usage": [3384.0, 3384.0, 6768.0], "cpu_cycles": [0.004894590000000063, 0.004944329999999901, 0.009838919999999965], "algo": "SIMON", "key_length": 128, "nonce_length": 0, "block_length": 128}
\ No newline at end of file
{"integrity": true, "implementation_size": [1816.0, 1816.0, 3632.0], "ram_consumption": [2516.0, 2516.0, 5032.0], "throughput": [806249.2638812405, 798914.3689074494, 1605163.6327886898], "execution_time": [416.3770000000038, 422.9859999999922, 839.362999999996], "memory_usage": [2176.0, 2176.0, 4352.0], "cpu_cycles": [0.004163770000000038, 0.004229859999999923, 0.008393629999999961], "algo": "SIMON", "key_length": 128, "nonce_length": 0, "block_length": 64}
\ No newline at end of file
{"integrity": true, "implementation_size": [1752.0, 1752.0], "ram_consumption": [2164.0, 2164.0], "throughput": [529916.5301997464, 529634.24699576], "execution_time": [467.38199999999864, 470.0260000000069], "memory_usage": [3384.0, 3384.0], "cpu_cycles": [0.004673819999999988, 0.00470026000000007], "algo": "SIMON", "key_length": 128}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment