DEV Community

Discussion on: Hash strings to INT using Java

Collapse
 
gamesover profile image
James Moberg

I checked the application that we used this with and the hashCode values have remained consistently generated since initially used in 2018.

I tested on TryCF.com and discovered that Railo, Lucee 4.5-5 & ColdFusion 10-2021 all return consistent results when passing the same text string.

Collapse
 
bennadel profile image
Ben Nadel

Ok cool -- sorry to cause any momentary panic there. I'm glad I was incorrect in my understanding of things I've read in the past.