public function decrypt($input)
    {
        // Decode the IV + data
        $input = base64_decode($input);
        // Remove the IV
        $iv = substr($input, 0, Cipher::IV_SIZE);
        // Return Decrypted Data
        return openssl_decrypt(substr($input, Cipher::IV_SIZE), "AES-256-CBC", $this->secretKey, 0, $iv);
    }
public function decrypt($input)
    {
        // Decode the IV + data
        $input = base64_decode($input);
        // Remove the IV
        $iv = substr($input, 0, Cipher::IV_SIZE);
        // Return Decrypted Data
        return openssl_decrypt(substr($input, Cipher::IV_SIZE), "AES-256-CBC", $this->secretKey, 0, $iv);
    }
public function decrypt ( $ input ) { // Decode the IV + data $ input = base64_decode ( $ input ) ; // Remove the IV $ iv = substr ( $ input , 0 , Cipher :: IV_SIZE ) ; // Return Decrypted Data return openssl_decrypt ( substr ( $ input , Cipher :: IV_SIZE ) , "AES-256-CBC" , $ this -> secretKey , 0 , $ iv ) ; }
Decrypts the input text from the cipher key

@param $input
@return string
Decrypts the input text from the cipher key