Advanced security and privacy for rfid technologies