let assume we have string name = "stackoverflow.com";
how to convert this string int to a unique ID or some sort of Hash. (no md5 because its too big) and it should not be random
i will like to have something like this
Please note string itself is too big I would like to know if the string can be written shorter. in an combination of letters, numbers and symbols
f¤k^§~7d?Æ
This is impossible without restricting your domain. There are infinitely many strings and so can't be mapped injectively into any finite set. Therefore, uniqueness is impossible.
If you really want a unique identifier for string, use the string itself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With