Figure 1.

Figure 2.

Figure 3.

Figure 4.

Figure 5.

Figure 6.

Comparative Summary of Proposed System vs_ Prior Works
| Scheme / Work | Encryption Type | Access Control Mechanism | Revocation Support | Auditability | Latency / Performance | Deployment Readiness |
|---|---|---|---|---|---|---|
| [11] | CP-ABE (Policy-hiding) | Attribute-Based | Limited | No | Not evaluated | Moderate |
| [17] | ABE + Keyword Search | Fog-assisted Attribute-Based | Partial (fast decryption) | No | Not clearly reported | Limited |
| [18] | Delegatable ABE | Collaborative Role-Based | Delegation only | No | Moderate | Good |
| [19] | RS-HABE (Hierarchical) | Hierarchical ABE | Yes | No | High (hierarchical cost) | Strong in cloud-only |
| Proposed System | CP-ABE + Fernet (Hybrid) | Role + Attribute Based | Yes (with TTP) | Yes | 150 ms Reg, 120 ms Login, 200 ms Upload | High (Tested with 500 users) |
File Download Computation Time for Different File Sizes
| File Size | Computation Time |
|---|---|
| 1MB | 3|G| + 1|GT| + 9.6E |
| 10MB | 3|G| + 1|GT| + 96E |
| 16MB | 3|G| + 1|GT| + 154E |
| 32MB | 3|G| + 1|GT| + 307E |
| 56MB | 3|G| + 1|GT| + 538E |
| 128MB | 3|G| + 1|GT| + 1299E |
| 256MB | 3|G| + 1|GT| + 2458E |
Decryption Time for Communication, Computation, and Storage Costs
| Entity | Communication Time | Computation Time | Storage Time |
|---|---|---|---|
| Doctor | (256 + 2)|G| + |GT| | (768 + 3)|G| + |GT| | (256 + 2)|G| + |GT| |
| Patient | (384 + 2)|G| + |GT| | (512 + 2)|G| + |GT| | (128 + 1)|G| + |GT| |
| TTP | (512 + 2)|G| + |GT| | (1024 + 4)|G| + 2|GT| | (512 + 4)|G| + 2|GT| |
| Cloud | (128 + 1)|G| | (2048 + 5)|G| + 2|GT| | (1024 + 6)|G| + 2|GT| |
File Upload Computation Time for Different File Sizes
| File Size | Computation Time |
|---|---|
| 1MB | 6|G| + 1|GT| + 16E |
| 10MB | 6|G| + 1|GT| + 160E |
| 16MB | 6|G| + 1|GT| + 256E |
| 32MB | 6|G| + 1|GT| + 512E |
| 56MB | 6|G| + 1|GT| + 896E |
| 128MB | 6|G| + 1|GT| + 2048E |
| 256MB | 6|G| + 1|GT| + 4096E |
Comparison of cryptographic cost across schemes
| Operation | [8] | [9] | [10] | [11] | Our Work |
|---|---|---|---|---|---|
| Setup | 8.|G| + 2.|GT| | 8.|G| + 3.|GT| | 8.|G| + 2.|GT| | 8.|G| + 1.|GT| | 8.|G| + 2.|GT| |
| Key generation | 7[G – 1] + [G – 1] | (|S| + 3)E2 | (5|IS| + 4)E1 + (2|IS| + 1)M | (6|C|)TG* | 98.|G| + 2.|GT| |
| Encryption time | (7m + 3) | (10I)TCG + TCTP | (5|IS| + 1)E1 + E2 + (2|IS|)M | (10J)TG® + TCT® | 6.|G| + 2.|GT| |
| Decryption time | (|I| + |S| + 2)P + 2|I|E1 + |I|SDee | (|I| + |S| + 2)P + 2|I|E1 + |I|SDee ≤ | (TP) + 2 × tTG + 2 × QTP) | 11.|G| + 2.|GT| |
Encryption Time Comparison Across Schemes
| File Size | [8] | [9] | [10] | [11] | Our Work |
|---|---|---|---|---|---|
| 1MB | (5 + 5I1)TCG + TCTP | 21E1 + E2 + 8M | 10TG+TCT | (512 + 4)|G| + 2|GT| | |
| 10MB | (5 + 5I2)TCG + TCTP | 61E1 + E2 + 24M | 25TG+TCT | (5120 + 4)|G| + 2|GT| | |
| 16MB | (5 + 5I3)TCG + TCTP | 91E1 + E2 + 36M | 35 TG+TCT | (8192 + 4)|G| + 2|GT| | |
| 32MB | (5 + 5I4)TCG + TCTP | 181E1 +E2 + 72M | 65 TG+TCT | (16384 + 4)|G| + 2|GT| | |
| 56MB | (5 + 5I5)TCG + TCTP | 301E1 +E2 +120M | 105TG+TCT | (28672 + 4)|G| + 2|GT| | |
| 128MB | (5 + 5I6)TCG + TCTP | 641E1 + E2 +256M | 230TG+TCT | (65536 + 4)|G| + 2|GT| | |
| 256MB | (5 + 5I7)TCG + TCTP | 1281E1 + E2 + 512M | 455TG+TCT | (131072 + 4)|G| + 2|GT| |