%hide
html('<h3>Recommended Key Lengths</h3>')
#rsa = line([(2000,952),(2005,1149),(2010,1369),(2015,1613),(2020,1881),(2025,2174),(2030,2493),(2035,2840),(2040,3214)],rgbcolor="green")
#ecc = line([(2000,132),(2005,139),(2010,146),(2015,154),(2020,161),(2025,169),(2030,176),(2035,184),(2040,191)],rgbcolor="red")
#aes = line([(2000,70),(2005,74),(2010,78),(2015,82),(2020,86),(2025,89),(2030,93),(2035,97),(2040,101)],rgbcolor="blue")
#lol = line([2020,300],rgbcolor="white")
#RSA = text('RSA',(2030,2200),rgbcolor=[0,1,0])
#ECC = text('ECC',(2030,400),rgbcolor="red")
#ECC2 = text('ECC',(2030,200),rgbcolor="red")
#AES = text('symmetric',(2030,70),rgbcolor="blue")
#(rsa+ecc+RSA+ECC).save('bild1.png',xmin=2000,xmax=2040,axes_labels=['year','key length in bits'],figsize=5)
#(ecc+aes+lol+ECC2+AES).save('bild2.png',xmin=2000,xmax=2040,axes_labels=['year','key length in bits'],figsize=5)
import pylab
x1 = [2000,2005,2010,2015,2020,2025,2030,2035,2040]
rsa = [952,1149,1369,1613,1881,2174,2493,2840,3214]
ecc = [132,139,146,154,161,169,176,184,191]
aes = [70,74,78,82,86,89,93,97,101]
pylab.figure(figsize=(5.5,3.5))
pylab.clf() # clear the figure first
pylab.plot(x1,rsa, label="RSA",color='green')
pylab.plot(x1,ecc,label="ECC",color='red')
pylab.legend(loc=0) # print the legend
pylab.grid(True, linestyle='-', linewidth=.5, alpha=.2)
pylab.ylabel("key length in bits") # label the axes
pylab.xlabel("year")
pylab.savefig('bild1.png') # fire!
pylab.clf() # clear the figure first
pylab.plot(x1,aes, label="symmetric",color='blue')
pylab.plot(x1,ecc,label="ECC",color='red')
pylab.plot([2040],[300])
pylab.legend(loc=0) # print the legend
pylab.grid(True, linestyle='-', linewidth=.5, alpha=.2)
pylab.ylabel("key length in bits") # label the axes
pylab.xlabel("year")
pylab.savefig('bild2.png') # fire!
html('<table bgcolor=lightgrey cellpadding=2>')
html('<tr><td align="center"><img src="cell://bild1.png"></td>')
html('<td align="center"><img src="cell://bild2.png"></td></tr>')
html('</table>')
html('Figure 6.1 Recommended key lengths for RSA, ECC-systems and symmetric algorithms until 2040. Source: <a href="http://www.keylength.com">http://www.keylength.com</a>')
|
|
Recommended Key Lengths
Figure 6.1 Recommended key lengths for RSA, ECC-systems and symmetric algorithms until 2040. Source: http://www.keylength.com
Recommended Key Lengths
Figure 6.1 Recommended key lengths for RSA, ECC-systems and symmetric algorithms until 2040. Source: http://www.keylength.com
|