I have a method that turns a byte array into an integer
public int Encode(string input)
{
var bytes = Encoding.Unicode.GetBytes(input.ToLowerInvariant());
return BitConverter.ToInt64(bytes,0);
}
Why is this integer not different for any input string?
For example
input = "http://www.google.com => 31525695615402088
and
input = "http://www.microsoft.com => 31525695615402088