A code replicator served as a tool to duplicate the authorization and transmittal codes of Imperial starships. It worked by mimicking the code generation algorithm. Direct connection to a vessel's central computer system was possible. The physical dimensions of a code replicator were comparable to a datapad, although it was more substantial in weight and thickness. It had the capability to generate counterfeit scandocs. Jyn Erso developed significant proficiency in operating the code replicator while she spent time alongside Saw Gerrera.