VISA PIN algorithms
The VISA PIN verification algorithm performs a multiple encipherment of a value, called the transformed security parameter (TSP), and a extraction of a 4-digit PIN verification value (PVV) from the ciphertext.
The calculated PVV is compared with the referenced PVV and stored on the plastic card or data base. If they match, verification is successful.