Steganography, the most important area of secret information hiding, can be classified as hiding secret information inside an image. The purpose of steganography is to hide the presence of information. Confidential information requested to be sent is hidden in any other object, preventing third parties from knowing about the existence of the sent information. Steganography: it is applied in three fields namely text, image and voice steganography. The article discusses the main concepts and provisions of steganography, examines the principles of building digital stego-systems, and proposes a new more effective algorithm based on the knowledge gained. The main principles in the construction of steganographic systems are the visual indistinguishableness of stego-images and container images, as well as increasing the volume of hiding secret information bits and ensuring their integrity. Considering all this, the explanation of the proposed new algorithm, which includes these qualities, is given extensively in the article.