Secure NFC tags in home assistant

Hello!

I am looking for a way to use secure NFC tags / NFC authentication (not just based on the tag ID) to avoid tag duplication. This is to control access to the home (e.g. opening a yale smart lock).

doc on secure NFC authentication :NFC Tag Authentication Explained - Seritag

Is there any existing code for this?

Presumably, one would need to store the used tags in a database (locally, or cloud?). How would one go about this?

Thank you.