# bep, more details are needed

**URL:** https://forum.syncthing.net/t/bep-more-details-are-needed/16001
**Category:** Development
**Created:** [December 10, 2020, 7:31am UTC](https://forum.syncthing.net/t/bep-more-details-are-needed/16001 "2020-12-10T07:31:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![basiliscos](https://forum.syncthing.net/user_avatar/forum.syncthing.net/basiliscos/32/9080_2.png) [@basiliscos](https://forum.syncthing.net/u/basiliscos)
#### Post date: [December 10, 2020, 7:31am UTC](https://forum.syncthing.net/t/bep-more-details-are-needed/16001/1 "2020-12-10T07:31:59Z")

</div>

Hi,

Could you, please, describe what are the fields `hash` and `weak_hash`, and how they are calculated?

Also, if there is some document or discussions about used database layer, it would be nice to see it…

Thanks!

wbr, basiliscos

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [December 10, 2020, 8:18am UTC](https://forum.syncthing.net/t/bep-more-details-are-needed/16001/2 "2020-12-10T08:18:36Z")

</div>

Hash is sha256, weakhash is adler32 I believe.

There is no write up about the database other than the code itself.
