The system begins with a user uploading medical images for encryption or requesting decryption of encrypted images.
The uploaded medical images undergo preprocessing to prepare them for encryption.
AES Encryption:
The image data is encrypted using the AES algorithm.
The AES key is also encrypted to secure the encryption key itself.
DES Encryption:
The output of AES encryption and the encrypted AES key are further secured using the DES algorithm.
The resulting data is stored in Encrypted Image Storage and Encrypted AES Key Storage.
Request Decryption:
The user initiates decryption to retrieve the original image.
DES Decryption:
The DES layer is removed first to decrypt the AES key.
AES Decryption:
Using the decrypted AES key, the original image data is reconstructed.
The decrypted image is reconstructed and saved, ensuring it matches the original medical image.