An adaptation of an NFC PhoneGap library with AES encryption included