Encrypted QR Code based ticket generator