This paper presents a new method for determining cryptographic parameters for end-to-end encryption using a multi-objective optimization approach. It is crucial to select appropriate parameters that balance security and performance for systems with different security needs. To overcome this challenge, the proposed approach focuses on creating a detailed mathematical model for the end-to-end encryption problem using multi-objective optimization. We evaluated the optimization model based on security, performance, and global objectives. The experimental model was tested using a custom-developed end-to-end encryption application with multiple data files of varying sizes and cryptographic parameters. The evaluation results demonstrate that it can be applied to various cryptographic systems and schemes.