I was wondering if the following hashing technique can easily be reversed?
If someone got hold of the hashed value, can he/she reverse it?
Partiuclarly I'm talking about the following code:
hashCode = function(s){
return s.split("").reduce(function(a,b){a=((a<<5)-a)+b.charCodeAt(0);return a&a},0);
}
I'm looking to hash some email addresses.