Research Article

TLDA: An Efficient Two-Layered Data Authentication Mechanism for Content-Centric Networking

Table 3

Time comparison for RSA signing, verifying, and hashing to a segment of 4Kbytes, 2Kbytes, and 1Kbytes. (Timings are the average of one million executions.) RSA signature operation makes use of SHA-256 for message hashing.

 Segment Size
4Kbytes2Kbytes1Kbytes

RSA 1024 Signing1.9236 ms1.8659 ms1.7832 ms

RSA 1024 Verifying0.3508 ms0.2955 ms0.2624 ms

RSA 2048 Signing11.2315 ms10.9907 ms10.8255 ms

RSA 2048 Verifying0.7487 ms0.6983 ms0.6753 ms

SHA-2560.05071 ms0.02556 ms0.01329 ms