
Hello, I have a question, person 1 and 2 has uids.
I want to generate a third uid from the first two ids. This new ID should always be the same for only these two id combo and not any other combo.
Any ideas?

thirdUid = firstUid + '|' + secondUid;
š

Or doing an XOR on both values

Thankyou @Steven.... But I require the third uid to be order independent from the first two

First+sec , sec+first should yeild the same unique result

Xor should work then

What is xor?

Exclusive or.
You can probably search online for stuff like this. You're looking for a hashing algorithm where order doesn't matter

I can do that with two, appwrite unique.IDs ?

Yes
Recommended threads
- my database attribute stuck in processin...
when i created attributes in collection 3 of those attributes become "processing", and they are not updating, the worst thing is that i cant even delete them s...
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- Forever Processing Issue
I encountered an issue when creating attributes in the collections . if you create an attribute of type string for example and choose a size of 200 or 250 or a...
