Getting a hash link in binary format

I am using ipfs-js. ipfs.files.add returns a base58 encoded version of the hash, how can I get a binary version of it? For serializing it.

The easiest way is probably to decode it externally.
C - https://github.com/luke-jr/libbase58
C++ - https://github.com/bitcoin/bitcoin/blob/master/src/base58.h
JavaScript - https://www.npmjs.com/package/bs58

1 Like

Thanks, yes bs58.js does what I need to do.