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 -
C++ -
JavaScript -

1 Like

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