Coding by Vigenère method I

The Vigenère cipher is a method of text protection by encrypting, based on an alphabet and a series of Caesar ciphers in the tabula recta, than on the letters in keyword. It is a simple form of polyalphabetic substitution.
Here is reserved the standard form of Vigenère cipher, but with the Alphabet that consists of a series of ten digits and 26 lowercase than uppercase of the English letters. Letters out of the Alphabet are ignored, i.e. not encoded. Letters of the keywords should be in the Alphabet.
Encryption is the process of scrambling or enciphering data so it can be read only by someone with the means to return it to its original state. The conversion of encrypted data into its original form is called Decryption. It decodes the encrypted information so that an authorized user can only decrypt the data because decryption requires a secret key or password. Keyword is a word that acts as the password of the code.
1. Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ (Capital letters)
How it works
In a Caesar cipher, each letter of the alphabet is shifted along some number of places. In Vigenere cipher we have sequence of Caesar's alphabet each shifted by one letter to the previous and formed the tabula recta. You enter a plaintext, and a keyword that has been repeated into keytext, so it matches the length of the plaintext. The n-th letter of plaintext is enciphered using the alphabet in the row that start by the same letter. Than the letter in plaintext is changed by the letter in keytext, and so on until you got ciphertext. Decryption is performed backward, by finding the position of the ciphertext letter in a row of the table, and then taking the label of the column in which it appears as the plaintext.