I have a key value store where rows are indexed by uuid. For some of the keys I generate the key with uuidv4. For some of the other keys I generate the key from two other uuids from that same key value store.
e.g.
key | value |
---|---|
2efd5459-fa72-4b28-a801-160e84fa049d | alice |
99a975d8-cadf-460a-b9ab-ce8352414d89 | bob |
2fc821c5-fa09-5a89-b355-e6d3b5b90fc8 | alice_bob |
The alice_bob row was generated via v5 of alice and bob's uuids.
// alice bob
u.v5('2efd5459-fa72-4b28-a801-160e84fa049d', '99a975d8-cadf-460a-b9ab-ce8352414d89')
Am I more likely to get a collision by mixing v4 and v5 in the same KV store than if I just used v4 or just used v5?