Telemedicine is a communication in the medical field that requires privacy and confidentiality, so encryption is needed as a security method. The development of encryption methods must accompany technological developments. This research proposes a cryptography method developed and tested on medical images. This method consists of bit plane slicing, system chaos, and hash function. Bit plane slicing to break up the image bits so that they can be scrambled independently and dynamically with the chaos method. The hash function encrypts key 1, which is user input. The chaos method is run with dynamic parameters generated with a hash function to perform the confusion process on each bit plane. Then bit-plane join is performed, followed by the diffusion process using a logistic map with the second key for the parameter. The method is sensitive to slightly modified plain images or keys. Several measurement tools use to prove the method's performance. The result is a mean value are 7.999 for entropy information, 99.6027 for the number of pixels change rate (NPCR), 33.0925 for unified average changing intensity (UACI), 0.0021 for correlation coefficient, 231.8679 for chi-square and histogram, 50.0550 for avalanche effect, and perceptual analysis have proven the proposed method has satisfactory performance. The decryption is also done perfectly, as verified by the structural similarity index (SSIM)=1, peak signal-to-noise ratio (PSNR) is ∞, and bit error ratio (BER) is 0. Finally, this method can also work very fast in less than one second, so it can be implemented in real-time encryption.