how it works · 8 October 2026 · 4 min read
How an NFC tag backup works, and where it stops

A Tagcrypt tag holds an encrypted copy of a short secret. It does not hold the passphrase, and it is not a vault in the sense of a lock that resists copying. This post walks through what is on the tag, what the encryption does, and where it stops.
What is on the tag
When you write a record, the app puts one standard NFC text record on the tag. The text is a Base64 string. Decoded, it is a small binary envelope with these parts, in order:
- a format marker and version,
- the key-derivation settings (PBKDF2-HMAC-SHA256, 600,000 rounds),
- a random 16-byte salt, fresh for every write,
- a random 12-byte nonce, also fresh for every write,
- the ciphertext, and a 16-byte authentication tag.
There is no plain text on the tag, and no passphrase. Writing the same secret twice with the same passphrase produces two different records, because the salt and nonce change. The complete layout is on the record format page.
On the tag
Format marker, salt, nonce, ciphertext, authentication tag. Anyone with a phone can read and copy this.
Not on the tag
The passphrase, and your secret in readable form. These exist only in your head, your own backup, and, briefly, the app's memory.
How the key is made
Your passphrase goes through PBKDF2 with HMAC-SHA256, 600,000 rounds, and the record's salt. That produces a 256-bit key. The secret is then encrypted with ChaCha20-Poly1305, and the record header is authenticated along with it. If someone changes a single byte of the record, or you type the wrong passphrase, decryption fails outright rather than returning garbled text.
All of this runs on the phone. There is no account, no server and no network step involved in encrypting or decrypting.
What the encryption protects against
If someone finds your tag but does not know the passphrase, they hold a block of ciphertext they cannot read. They also cannot quietly alter it: a changed record fails authentication.
Where it stops
A copied tag can be attacked offline
NFC tags are easy to read, so assume anyone who has the tag can copy it. From the copy they can try passphrases at their leisure, on their own hardware, with no limit on attempts. The 600,000 rounds make each guess slower, but they do not stop guessing. The practical result: your security is the strength of your passphrase. A passphrase the app generates for you is 24 characters with about 144 bits of randomness, which is far beyond guessing. A short or reused one is not, and encryption cannot make up for that.
It is not a hardware wallet or a security key
The tag is an ordinary storage chip. It cannot refuse to be copied, it does not check who is reading it, and Tagcrypt is not a FIDO2 security key, a secure element or a hardware wallet. Treat it as an encrypted backup copy.
A successful write is not a guarantee of a readable tag later
After writing, the app reads the tag back and compares it with what it meant to write, in the same session. That proves the write worked at that moment. It cannot promise the chip will still read in five years. The chip maker's datasheet for the common NTAG21x tags quotes a minimum of 10 years of data retention and 100,000 write cycles; plan around that as a floor, not as a promise, and keep a second copy.
There is no recovery service
If you lose the passphrase, nobody can decrypt the record, including us. When the app generates a passphrase it keeps a copy in your iPhone's Keychain, on that device only. That is convenient, but a lost or replaced phone takes that copy with it. Keep your own copy of the passphrase somewhere else.
A sensible routine
- Use a generated passphrase, and store it separately from the tag.
- Write the tag, then read it back and decrypt it yourself before you rely on it.
- Keep the original secret until that test has passed.
- Keep at least one more copy of the secret somewhere else. This matters most for crypto-wallet recovery phrases: do not make an NFC tag the only place one exists.
- Test the tag again every so often.
If the app disappears, you are not stuck: here is how to recover a record with the published script. For choosing a tag, see NTAG213, NTAG215 or NTAG216. The full safety notice is worth reading before you use the app.
Written by Fish & Media. Spotted something wrong? support [at] fishandmedia [dot] com