## 4 Experimental Results
### PC vs. Card--Signing Using RSA CSP Class  
The third and last experiment compares again two processing systems, match-off-card vs. match-on-card, using the signing process. We use the same devices, PC for the match-off-card and national eID bio-metric card for match-on-card.  
The results of the experiment, for all eight text files and 10 cycles for each file, are shown in Table 5 and Figure 11.  
Figure 11: Graphical results of the experiment for signing RSA vs. card.  
Figure 10: Average time of PC vs. card.  
\begin{table}
\begin{tabular}{r r r r r r r r r r r r r r r r r} \hline
**Size** & \multicolumn{2}{c}{**1 KB**} & \multicolumn{2}{c}{**10 KB**} & \multicolumn{2}{c}{**50 KB**} & \multicolumn{2}{c}{**100 KB**} & \multicolumn{2}{c}{**1 MB**} & \multicolumn{2}{c}{**2 MB**} & \multicolumn{2}{c}{**5 MB**} & \multicolumn{2}{c}{**10 MB**} \\ \hline \# & RSA & CSP & RSA & CSP & RSA & CSP & RSA & CSP & RSA & CSP & RSA & CSP & RSA & CSP & RSA & CSP \\ \hline
1 & 10.33 & 2.38 & 7.24 & 17.28 & 7.41 & 66.17 & 7.88 & 134.81 & 16.3 & 1258.8 & 21.1 & 2448.2 & 52.5 & 6187.9 & 73.6 & 12,189.5 \\
2 & 7.09 & 2.19 & 7.29 & 12.74 & 7.41 & 62.28 & 7.81 & 123.81 & 13.26 & 24.06 & 20.68 & 48.7 & 6125.3 & 73.1 & 12,153.6 \\
3 & 7.10 & 2.60 & 7.15 & 12.37 & 7.82 & 62.15 & 7.81 & 120.42 & 13.9 & 1249.5 & 20.3 & 2441.4 & 40.1 & 6123.7 & 73.6 & 12,157.3 \\
4 & 7.18 & 2.67 & 7.22 & 11.99 & 7.41 & 61.33 & 7.74 & 118.84 & 13.8 & 12871.7 & 20.3 & 2429.1 & 40.3 & 6117.0 & 95.6 & 12,669.9 \\
5 & 7.09 & 2.43 & 7.23 & 12.49 & 7.49 & 62.36 & 7.78 & 118.83 & 13.8 & 12487.0 & 20.3 & 20.96 & 40.4 & 40.1 & 6119.0 & 10.9 & 12,627.0 \\
6 & 7.12 & 2.22 & 7.15 & 12.66 & 7.48 & 59.72 & 7.81 & 118.83 & 13.8 & 12813.7 & 21.2 & 2679.9 & 41.3 & 6128.2 & 74.8 & 12,154.5 \\
7 & 7.18 & 1.96 & 7.22 & 13.40 & 7.40 & 59.97 & 7.78 & 119.57 & 13.7 & 1231.9 & 20.4 & 2608.8 & 41.0 & 6117.7 & 73.0 & 12,160.6 \\
8 & 7.63 & 1.33 & 7.23 & 12.08 & 7.93 & 59.54 & 7.74 & 118.99 & 13.7 & 1233.5 & 20.5 & 2658.4 & 40.6 & 6303.1 & 73.0 & 12,162.9 \\
9 & 7.16 & 1.33 & 7.15 & 12.30 & 7.50 & 59.59 & 7.86 & 119.16 & 13.7 & 1236.4 & 20.5 & 2549.1 & 40.4 & 6683.6 & 73.1 & 12,300.0 \\
10 & 7.19 & 1.33 & 7.18 & 12.72 & 7.46 & 59.61 & 7.91 & 118.72 & 13.7 & 1236.0 & 20.4 & 2428.7 & 40.4 & 6241.6 & 96.1 & 13,158.7 \\ \hline \end{tabular}
\end{table}
Table 5: Signing RSA vs. card.  
This experiment is very interesting and one can draw few conclusions. Only in the 1 KB test case has the national biometric card performed better than PC. In the other seven text files, the PC has performed better. From Table 6 and Figure 12, we notice that match-off-card processing time increases very little when we increase the size of the test files. This is not the case in the match-on-card processing system, where the processing time increases exponentially when we increase the file size.  
So, from this experiment we can conclude that, in the signing process, overall match-on-card is more efficient than a match-off-card, especially for larger files. Match-on-card can still be used, in cases when we have small files to process.  
Another form of data representation could be used, especially for representing Figures 8, 10 and 12 using the Weierstrass-Mandelbrot function as in [18; 19], which will be future work.