Update CARD_PRIVACY.md

This commit is contained in:
Peter Rounce 2023-03-28 08:29:52 +01:00 committed by GitHub
parent cd7fc1338d
commit 68f38e2347
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,27 +2,25 @@
## Brief
The link that is programmed into the card and returned as the NDEF consists of three parts.
The URI that is programmed into the card and returned as the NDEF consists of three parts.
1. The static part
2. The encrypted part
3. The authentication part
```
lnurlw://yourdomain.com/ln?p=012345&c=6789 example
lnurlw://card.yourdomain.com/ln?p=A2EF40F6D46F1BB36E6EBF0114D4A464&c=F509EEA788E37E32 URI example
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ static
lnurlw://card.yourdomain.com/ln?p= &c= static
^^^^^^ encrypted
A2EF40F6D46F1BB36E6EBF0114D4A464 encrypted
^^^^ authentication
F509EEA788E37E32 authentication
```
Uses of the parts are as follows:
| part | use |
|------|-----|
| static | specfying the protocol and service location as a URI |
| encrypted | unique id and counter values encrypted by the card|
| encrypted | unique id and counter values encrypted by the card |
| authentication | a value to authenticate that the entire URI is as generated by the card |
## NXP NTAG424DNA features