My research optimizes three lightweight cryptographic algorithms—AES-256, ChaCha20, and Speck—for enhanced performance and security in IoT medical devices. By analyzing these algorithms throughput, latency, and memory usage on an Arduino board and applying specific optimization techniques, I have improved these algorithms and extrapolated the results to diagnostic, monitoring, and wearable devices. The core focus is finding the optimal tradeoff between security and performance for each optimized algorithm. The less memory usage the algorithm takes up in the device, the greater the performance. However, this also leads to lesser security. Finding the optimal balance will reduce computational overhead, improve processing speed, and lower energy consumption, leading to faster data processing. I strongly believe that these improvements to the algorithms will significantly enhance the functionality, security, and reliability of IoT medical devices, improving patient outcomes and advancing healthcare technology as a whole.