Security and Privacy in Smart Grid