In ColdFusion 9, I am hashing a string like so: hash("bob", "SHA1")
, I need it to return binary instead of a hex string.
How to get raw binary from hash function in ColdFusion 9?
406 views Asked by Trololololol At
2
In ColdFusion 9, I am hashing a string like so: hash("bob", "SHA1")
, I need it to return binary instead of a hex string.
Since you know the hashed string is in hex, simply decode it with the aptly named binaryDecode() function.