How to generate unique UID from some specific string in javascript.
eq.
var string = "this is some string that will generate unique UID"
var unique_UID = somefunction(string)
and everytime when I will call somefunction(string)
this will generate same unique_UID if the string is same.
Thank you in advance!