---
title: What Is an Authenticator App and How Do 2FA Codes Work? | Vaultan
description: A plain explanation of two-factor authentication, how authenticator apps make six-digit codes, and how to set one up safely.
url: https://vaultan.app/guides/what-is-2fa-authenticator-app/
---

# What Is an Authenticator App and How Do 2FA Codes Work?
A plain explanation of two-factor authentication, how authenticator apps make six-digit codes, and how to set one up safely.
Two-factor authentication (2FA) asks for a second proof that it is you, on top of your password. An authenticator app provides that proof as a six-digit code that changes every 30 seconds.

## How the codes are made
When you turn on 2FA, the site shows a secret setup key, usually as a QR code. Your app and the site both combine that key with the current time to produce the same code. Nothing is sent between them, which is why it works without signal.

## Why it beats text-message codes
Text messages can be intercepted or redirected by taking over a phone number. Codes made on your own phone cannot.

## Keep the setup keys safe
Anyone with a setup key can make your codes. Store them encrypted, and save the backup codes each site gives you in case you lose your phone.

## In Vaultan
Vaultan stores each setup key encrypted next to the login it belongs to and shows the live code beside the password.
Read more about [Vaultan's authenticator](https://vaultan.app/features/authenticator/).

## More guides

- [How to Hide Photos on iPhone (4 Ways, Compared)](https://vaultan.app/guides/how-to-hide-photos-on-iphone/): Four ways to hide photos on an iPhone, from the Hidden album to an encrypted vault, with what each one does and does not protect.
- [How to Hide Photos on Android (Locked Folder and Beyond)](https://vaultan.app/guides/how-to-hide-photos-on-android/): How to hide photos on Android with Google Photos Locked Folder, Samsung Secure Folder or an encrypted vault app.
- [What Is a Photo Vault App and Is It Safe?](https://vaultan.app/guides/what-is-a-photo-vault-app/): What a photo vault app does, how encryption makes one safe, and five things to check before you trust one with private photos.
- [Choosing a Private Journal App with a Lock](https://vaultan.app/guides/private-journal-app-with-lock/): What to look for in a private journal or diary app: real encryption, no cloud account, and features that help you keep writing.
- [Is the Hidden Album on iPhone Actually Private?](https://vaultan.app/guides/is-the-hidden-album-safe/): What the Hidden album protects, what it does not, and how to tighten it.
- [What Is a Decoy Vault and When Is It Useful?](https://vaultan.app/guides/what-is-a-decoy-vault/): What decoy vaults are, how they work, and their honest limits.
- [How to Delete Photos Permanently After Moving Them to a Vault](https://vaultan.app/guides/how-to-delete-photos-permanently/): After importing photos into a vault, the originals still exist. Here is how to remove them fully on iPhone and Android.
- [The Safest Way to Keep ID Documents on Your Phone](https://vaultan.app/guides/how-to-store-id-documents-on-your-phone/): How to keep copies of your passport, licence and cards on your phone without leaving them in your photo library.
- [Offline Password Managers: Who They Suit](https://vaultan.app/guides/offline-password-manager/): How an offline password manager differs from a cloud one, the trade-offs, and who each kind suits.
- [What Is an Authenticator App and How Do 2FA Codes Work?](https://vaultan.app/guides/what-is-2fa-authenticator-app/): A plain explanation of two-factor authentication, how authenticator apps make six-digit codes, and how to set one up safely.
- [Do Photo Vault Apps Back Up Your Photos? What Happens When You Lose Your Phone](https://vaultan.app/guides/do-photo-vault-apps-back-up-your-photos/): Many photo vault apps keep the only copy on your phone. Here is how to tell whether yours is backed up, and what each kind of backup protects.
- [How to Move a Photo Vault to a New Phone Without Losing Anything](https://vaultan.app/guides/how-to-move-a-photo-vault-to-a-new-phone/): Step-by-step: moving a private photo vault to a new iPhone or Android phone, including switching between the two.
- [Is a Photo Vault Backup in iCloud or Google Drive Really Private?](https://vaultan.app/guides/is-icloud-backup-of-a-photo-vault-private/): What end-to-end encrypted backup means for a photo vault, who holds the keys, and the questions to ask of any vault app.
- [Keepsafe Alternatives: Photo Vault Apps Compared on Backup, Limits and Privacy](https://vaultan.app/guides/keepsafe-alternatives/): Looking for a Keepsafe alternative? How built-in options and vault apps compare on backup limits, accounts and what they protect.
- [How to Redact a PDF on Your Phone (So It Stays Redacted)](https://vaultan.app/guides/how-to-redact-a-pdf-on-your-phone/): Why a black box drawn over text does not redact it, and three ways to remove information from a PDF on iPhone or Android properly.
- [How to Scan Documents to PDF on iPhone and Android](https://vaultan.app/guides/how-to-scan-documents-to-pdf-on-your-phone/): The built-in ways to scan to PDF on each phone, how to get a clean scan, and where each method keeps your documents.
- [Microsoft Lens Is Gone: What to Use Instead](https://vaultan.app/guides/microsoft-lens-alternatives/): Microsoft retired the Lens scanner app in 2026. The dates, what Microsoft recommends, and the alternatives for different needs.
- [How to Blur Faces in a Photo Before You Share It](https://vaultan.app/guides/how-to-blur-faces-in-photos/): Ways to blur faces on iPhone and Android, why some blurs can be undone, and how to do it without uploading the photo.
- [How to Remove Location Data from Photos on iPhone and Android](https://vaultan.app/guides/how-to-remove-location-from-photos/): What EXIF data is, how to check whether a photo carries your location, and the ways to remove it before sharing.
- [How to Sign a PDF on Your Phone](https://vaultan.app/guides/how-to-sign-a-pdf-on-your-phone/): Signing a PDF on iPhone or Android with the tools you already have, and how to do it without uploading the document.
- [How to Merge PDFs on Your Phone](https://vaultan.app/guides/how-to-merge-pdfs-on-your-phone/): Combining PDF files on iPhone and Android, and how to do it offline when the documents are private.
- [How to Scan and Keep Receipts on Your Phone](https://vaultan.app/guides/how-to-store-and-scan-receipts/): A simple way to keep receipts for tax, warranties and expenses: how to scan them well and where to keep them.
- [How to Move 2FA Codes to a New Phone](https://vaultan.app/guides/how-to-move-2fa-codes-to-a-new-phone/): How Google Authenticator, Microsoft Authenticator and Authy each move your two-step codes to a new phone, what can go wrong, and how to avoid being locked out.
