Vigenère cipher for PHP