ltm rule command md5ΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



md5
       Returns the RSA MD5 Message Digest Algorithm message digest of the
       specified string.

SYNOPSIS
       md5 ANY_CHARS

DESCRIPTION
       Returns the RSA Data Security, Inc. MD5 Message Digest Algorithm (md5)
       message digest of the specified string, or if an error occurs, an empty
       string. Used to ensure data integrity.

RETURN VALUE
       md5 
	   Returns the RSA Data Security, Inc. MD5 Message Digest Algorithm
       (md5) message digest of the specified string, or if an error occurs, an
       empty string.

VALID DURING
       RULE_INIT

EXAMPLES
	when HTTP_REQUEST {
	    binary scan [md5 [HTTP::host]] w1 key

	    set key [expr {$key & 1}]
	    switch $key {
		0 { pool my_pool member 1.2.3.4:80 }
		1 { pool my_pool member 5.6.7.8:80 }
	    }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-9.0.0 --First introduced the command.  @BIGIP-11.1.0 --First
       introduced the command.



BIG-IP				  2017-01-31			      iRule(1)