SMS dit: Hardware Security for Device Authentication in the Smart Grid