# Need some help recreating a hash digest of a multihash

**URL:** <https://discuss.ipfs.tech/t/need-some-help-recreating-a-hash-digest-of-a-multihash/3541>\
**Category:** Help\
**Created:** [August 3, 2018, 8:22am UTC](https://discuss.ipfs.tech/t/need-some-help-recreating-a-hash-digest-of-a-multihash/3541 "2018-08-03T08:22:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PascalPrecht](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/pascalprecht/32/1172_2.png) [@PascalPrecht](https://discuss.ipfs.tech/u/PascalPrecht)\
**Post date:** [August 3, 2018, 8:22am UTC](https://discuss.ipfs.tech/t/need-some-help-recreating-a-hash-digest-of-a-multihash/3541/1 "2018-08-03T08:22:58Z")

</div>

All the details can be found here: [How recreate a hash digest of a multihash in IPFS - Stack Overflow](https://stackoverflow.com/questions/51655352/how-do-decode-a-dag-node-object-in-ipfs/51658540#51658540)

I appreciate any help/pointers 🙂

---

<div class="post-metadata">

**Author:** ![stebalien](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/stebalien/32/156_2.png) [@stebalien](https://discuss.ipfs.tech/u/stebalien)\
**Post date:** [August 4, 2018, 9:27pm UTC](https://discuss.ipfs.tech/t/need-some-help-recreating-a-hash-digest-of-a-multihash/3541/2 "2018-08-04T21:27:38Z")

</div>

I’ve answered the linked question.

---

<div class="post-metadata">

**Author:** ![PascalPrecht](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/pascalprecht/32/1172_2.png) [@PascalPrecht](https://discuss.ipfs.tech/u/PascalPrecht)\
**Post date:** [August 5, 2018, 9:49am UTC](https://discuss.ipfs.tech/t/need-some-help-recreating-a-hash-digest-of-a-multihash/3541/3 "2018-08-05T09:49:24Z")

</div>

@stebalien thank you! This really helps 🙂

One thing that’s still unclear to me though, shouldn’t the `Data` hash in the outer protobuf also be a multihash? It doesn’t seem to be one, at least not encoded in Base58…

---

<div class="post-metadata">

**Author:** ![stebalien](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/stebalien/32/156_2.png) [@stebalien](https://discuss.ipfs.tech/u/stebalien)\
**Post date:** [August 6, 2018, 4:05pm UTC](https://discuss.ipfs.tech/t/need-some-help-recreating-a-hash-digest-of-a-multihash/3541/4 "2018-08-06T16:05:18Z")

</div>

That’s actually just “Hello World!” base64 encoded. Unfortunately, JSON doesn’t _have_ a byte buffer type so we end up encoding byte buffers as base64 strings. You may find this interesting:

> <https://github.com/ipfs/go-ipfs/issues/4115>

---

<div class="post-metadata">

**Author:** ![PascalPrecht](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/pascalprecht/32/1172_2.png) [@PascalPrecht](https://discuss.ipfs.tech/u/PascalPrecht)\
**Post date:** [August 6, 2018, 4:35pm UTC](https://discuss.ipfs.tech/t/need-some-help-recreating-a-hash-digest-of-a-multihash/3541/5 "2018-08-06T16:35:56Z")

</div>

Wow - thanks!

I don’t even think I understand. Will read up on that and do further research. This is very helpful!
