let vigenere = Vigenere(key: "LABAS")
vigenere.encrypt(plainText: "ABCDE") // "LBDDW"
vigenere.decrypt(encryptedText: "LBDDW") // "ABCDE"
By default alphabet is 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. You can specify different alphabet when initializing Vigenere:
let vigenere = Vigenere(alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", key: "LABAS")