Made cipher_algorithm a nullable type