How do I get the source binary from a hash function in ColdFusion 9?
2 answers
Since you know the hashed string is in hex, just decode it using the label of the binaryDecode () function .
hashedString = hash("bob", "SHA1");
binaryData = binaryDecode(hashedString , "Hex");
+3
source to share