# Functions
No description provided by the author
No description provided by the author
*
This will shorten the input string to len [outputLen], with bitwise xor the bytes
The length of the input string/outputLen must be both even number,
And outputLen must be a positive and even divisor of the input length, and cannot be 1 or input length
i.e.
*
* Idea from here: https://stackoverflow.com/questions/2253693/shortening-rehashing-uuids
* TL;DR:
* This will preserve the distribution characteristics.
*
This method will further shorten the uuid to 8 character i.e.