Added encryption to nfc module