Forum Discussion
mhuss3y_61750
Nimbostratus
Feb 20, 2014sha256 function incorrect output
Hi devcentral, when using the sha256 function to hash a string I am unable to replicate the online sha hash function. For example, if I enter the string "myhash" without the quotes into:
http://www.x...
mhite_60883
Cirrocumulus
Feb 20, 2014The online tool you are using displays the hex encoding of the hash. The iRule function is raw binary. I am NOT an iRule or TCL guy, but I think you can use this to convert to a hex string:
http://tmml.sourceforge.net/doc/tcl/binary.html
Good luck,
-M
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
