From 1ff592dbdf046dd22a71031505c6e0d251929b7b Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Sun, 8 Dec 2024 11:25:03 -0800 Subject: [PATCH] Update key derivation script to mention what variable to replace --- TagSniffing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TagSniffing.md b/TagSniffing.md index b6e5f65..fb687f4 100644 --- a/TagSniffing.md +++ b/TagSniffing.md @@ -36,7 +36,7 @@ As of 2024-11-19, keys can now be derived from the UID of a tag. from Cryptodome.Protocol.KDF import HKDF from Cryptodome.Hash import SHA256 -uid = bytes([0x02,0x3b,0x44,0x74]) +uid = bytes([0x02,0x3b,0x44,0x74]) # Replace this with the tag's UID master = bytes([0x9a,0x75,0x9c,0xf2,0xc4,0xf7,0xca,0xff,0x22,0x2c,0xb9,0x76,0x9b,0x41,0xbc,0x96]) keys = HKDF(uid, 6, master, SHA256, 16, context=b"RFID-A\0")