return selected cipher