G
Guest
Hello,
I am using hashpasswordforstoringinconfigfile with md5 to generate a
32-character hashed password. But, since that string is only hex characters
and is really only 128 bits (16 bytes), I'd like to shrink it down to that
size and store as a 'binary' in the database. My goal is to cut down what I'm
storing without losing info. I'm guessing there is a simple conversion
function to take this hex string down to a byte array, but I'm not seeing it.
Any thoughts?
Thanks,
Bill
I am using hashpasswordforstoringinconfigfile with md5 to generate a
32-character hashed password. But, since that string is only hex characters
and is really only 128 bits (16 bytes), I'd like to shrink it down to that
size and store as a 'binary' in the database. My goal is to cut down what I'm
storing without losing info. I'm guessing there is a simple conversion
function to take this hex string down to a byte array, but I'm not seeing it.
Any thoughts?
Thanks,
Bill