The document presents a novel image encryption technique utilizing random chaotic number generation based on clustering and a modified standard map. The proposed method enhances security and speed of encryption and decryption by employing preprocessing steps that cluster the image data and generate encryption keys. Experimental results demonstrate the effectiveness and efficiency of the technique, with the final reconstructed images showing minimal distortion from the original.