Added error handling for decrypt().
little conflict in test.php