DataScript: avi.utils.murmur_hash (), avi.utils.sha1_hash (), avi.utils.md5_hash ()
DataScript
Functions | avi.utils.murmur_hash ( string ), avi.utils.sha1_hash ( string ), avi.utils.md5_hash ( string ) |
Description | Starting with Avi Vantage 17.1.10 and 17.2.3, DataScripts can hash arbitrary data using one of three functions supporting their correspondingly named hashing methods: MurmurHash, SHA-1, and MD5. |
Events | HTTP_REQ HTTP_RESP |
Parameter | string is the string to be hashed. |
Returns | The hashed string |
Example | Consider this 5-line code snippet:
The output yielded for curl -vvv http://10.160.33.200/echo_listen_port was as follows:
|