Is there a pairing function that returns small output? (max 10 chars)?

Viewed 30

I'm trying to apply the "Cantor pairing function" with two inputs 10 characters long and the result is too long (20 characters), I wanted to know if there is another REVERSIBLE pairing function that returns an output of the same length as the inputs. (max 10 chars)

Cantor pairing function -> 528734635 and 528734636 = 15719795211941537201

this result is too long for my needs, if someone can help me I would be happy! Thanks a lot!

0 Answers
Related