Encodes two unsigned integers into a single, larger (32 or 64-bit) integer with optional AES-FFX encryption.