Create a program that encrypts a string with another string using a key, using the vigenere cipher.
What a vigenere cipher does
Ciphertext: string Key: keya | | v v string keyake | v (18)(19)(17)(08)(13)(06) (10)(04)(24)(00)(10)(04) | v (28)(23)(41)(08)(23)(10) | v cxpixk
If it still isn't clear, read here.
Rules: No built-ins, shortest code in bytes wins, input and output will/should always be either completely lowercase, or completely uppercase.
string, keya -> cxpixk aaaaaaaaaaaaaaaaaaaaaaaa,abcdefghijklmnopqrstuvwxyz -> abcdefghijklmnopqrstuvwxyz vigenere, cipher -> xqvlrvtm short, longkey -> dvbxd