Code cylinder/Legends

A code cylinder was a common security device used by military officers, corporate executives, and politicians. It acted as a sophisticated keycard for secure areas. Each cylinder contained its user's personal security clearance codes and data. They were used extensively in the Galactic Republic, Empire, and New Republic. The devices, usually carried within a pocket or on one's belt, used the same interface as a droid's scomp link.

Code cylinders could be reprogrammed. In situations where it was impossible for a slicer to be physically present and hack a security door, they sometimes elected to reprogram the cylinder instead. Cylinders were programmed with countermeasures such that a failed reprogramming caused the data to become irretrievably corrupted.