Cryptography is the science of privacy methods. Encryption is a special case of encryption. The article discusses the issues of encryption, the use of two different methods of encrypting text phrases: the Caesar cipher and the Vigener cipher, the definitions of the alphabet and the key are given. An example of using these ciphers on two phrases of the Cyrillic and Latin alphabet is given. A program has been designed in the Java language that allows encryption and decryption. The description of the program is given. The program form includes two radio buttons for selecting the algorithm and two buttons for encryption and decryption.
Keywords: cryptography, encryption, decryption, vigener cipher, caesar cipher, java