There's only one way to correctly perform a double hash. You must keep in mind that what you get from an hash of a string is just binary data, usually in the form of an hexadecimal number.
Hint: use this service
http://www.fileformat.info/tool/hash.htm