Tag Archives: CFML

How to Generate Random IP Address using Coldfusion (CFML)

Our dev team needed random IP Address for dummy data, here is how I accomplish generating random IP Address. The function used to accomplish this was: RandRange RandRange(number1, number2[, algorithm]) The algorithm to use to generate the random number. ColdFusion installs a cryptography library with the following algorithms: CFMX_COMPAT: the algorithm used in ColdFusion (default). SHA1PRNG:… Read More »