Dennis Putnam wrote:Thanks for the reply. I know how to code up a conversion but I was looking to see if there was a direct way either via MessageDigest or some built-in function.
You can look through MD's methods to see if anything does it. If not (and I suspect it won't be there), other potential candidates might be String, Integer, and Byte, and java.util.Arrays.
And note that if one of them has it, it's not a "built-in function" in the language sense. It'll just be a method written in
Java that happens to come bundled with the core API but that'd be no different from one you can write yourself.