Removed references to $this->key variable, and instead use the new
Cipher::key() function to retrieve the key