Research Article
Somewhat Homomorphic Encryption: Ring Learning with Error Algorithm for Faster Encryption of IoT Sensor Signal-Based Edge Devices
Table 2
Encryption operation time and size for various message spaces.
| Message space (mod(t)) | n (ciphertext degree) | Encryption operation time | Encrypted size | Pub. key ms | Pv. key ms | Add. ms | Mult. ms | Pub. key KB | Ciphertext KB |
| 2 | 512 (1) | 25 | 57 | <1 | <1 | 12 | 24 | | 4096 (4) | 210 | 520 | 2 | 150 | 386 | 781 | | 8192 (10) | 425 | 1410 | 7 | 860 | 2256 | 4526 |
| 128 | 1024 (1) | 55 | 112 | <1 | <1 | 29 | 60 | | 4096 (4) | 225 | 610 | 4 | 160 | 490 | 975 | | 8192 (10) | 448 | 1654 | 7 | 1140 | 5534 | 11052 |
| 1024 | 1024 (1) | 52 | 108 | <1 | <1 | 35 | 69 | | 4096 (4) | 225 | 620 | 4 | 214 | 535 | 1091 | | 8192 (10) | 455 | 1825 | 9 | 554 | 6010 | 12105 |
|
|