How are PINs usually handled by applications?

If an application allows you to set a PIN to access the app, how is this usually handled by the developers? Is the PIN entirely local and stored on device or would the developers somehow have access to it? Or does it depend?

For example, WhatsApp has a 6-digit 2FA PIN that you can set. Do they have access to it or would it be encrypted?

1 Like