That issue was at the heart of an appellate hearing Wednesday in federal court in Philadelphia in the case of Francis Rawls, a former Philadelphia police sergeant, who has not been charged with a crime but who has been in custody for nearly a year in contempt of court for failing to unlock his encrypted electronic devices.