Forum Discussion
Ian_Smith
Aug 23, 2006Ret. Employee
curious results from md5
when I do this on 9.1.2 or 9.2.3:
when CLIENT_ACCEPTED {
set client [IP::client_addr]
set clienthash [md5 [IP::client_addr]]
log "the client is: $client the c...
spark_86682
Dec 10, 2008Historic F5 Account
It was meant to be md5, it just needs/needed the output converted to a numeric value.
crc32 works pretty well as a hash if all you need is a yes/no (i.e. this does/doesn't match) answer. This iRule, though, needs to numerically compare different values (i.e. less than or greater than, not just is or isn't equal), and for that crc32 will give uneven distribution. md5 is the fastest primitive iRules currently has for getting evenly distributed hashes.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects