Magnetic stripe card
Cards that are used for banking used to store the PIN as a hash value on the magnetic stripe. Today, the ATM calculates the hash value, and transmits it to the server of the bank, which does the comparison. Storing the PIN in the ATM is no longer allowed.