Reputation: 7526
This example:
var a = Convert.ToBase64String(BitConverter.GetBytes((long)531689).Reverse().ToArray());
var b = Convert.ToBase64String(BitConverter.GetBytes((long)532105).Reverse().ToArray());
Console.WriteLine("{0} != {1}", a, b);
Outputs:
AAAAAAAIHOk= != AAAAAAAIHok=
How is it possible?
Upvotes: 0
Views: 210
Reputation: 34152
Well
AAAAAAAIHOk= is not equal to AAAAAAAIHok=
---------^--- -------^---
Upvotes: 4