• Vigenère cypher function (https://en.wikipedia.org/wiki/Vigenère_cipher)

    Returns the encoding of aStr after applying the Vigenère cypher with the key aKey. aStr is supposed to be a string composed uniquely from a-z characters, and aKey is a string composed uniquely from a-z characters.

    Parameters

    • aStr: string

      the string to cypher

    • aKey: string

      the key to use for the Vigenère cypher

    Returns string

    the cyphered string