Generates an ESQL file based on provided mapping parameters. Added Function & checksum support. Changed Value for Encryption Payload