PIN offset (IBM 3624)
The difference between the PIN a bank can derive from the card number and the PIN the customer actually chose.
IBM's method, named after its 3624 cash machine, lets an issuer avoid storing PINs at all. An HSM encrypts part of the card number under a secret PIN key and maps the result to digits through a decimalisation table. The first four digits become the card's natural PIN. If the customer wants their own code, the offset is computed digit by digit, modulo 10. Pick 1234 against a natural PIN of 7151 and the offset is 4183.
At verification the HSM derives the natural PIN again, adds the offset and compares the result with what was keyed in. The offset can be stored without special protection, since it means nothing without the key. The weakness turned out to be in the interface instead, as the decimalisation table attack showed in 2003. Visa's equivalent scheme is the PVV.