From @JustinDrake on Thu Dec 22 2016 12:43:53 GMT+0000 (UTC)
Answer: base32encode-nopad(base58-decode(HASH))
, but this will change soon (see https://github.com/ipfs/go-ipfs/issues/3463)
Copied from original issue: https://github.com/ipfs/faq/issues/213