Implement cipher selection.