# BIP352 private key formats

**URL:** <https://delvingbitcoin.org/t/bip352-private-key-formats/2080>\
**Category:** Implementation\
**Created:** [October 25, 2025, 12:43am UTC](https://delvingbitcoin.org/t/bip352-private-key-formats/2080 "2025-10-25T00:43:40Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![pyth](https://delvingbitcoin.org/letter_avatar_proxy/v4/letter/p/e99b99/32.png) [@pyth](https://delvingbitcoin.org/u/pyth)\
**Post date:** [November 13, 2025, 3:50am UTC](https://delvingbitcoin.org/t/bip352-private-key-formats/2080/10 "2025-11-13T03:50:04Z")

</div>

> [@junderw](#):
>
> But I think birthday and max label should be included as a hint to aide in scanners.

afaik others commonly used descriptors types don’t convey these informations (birthday & look\_ahead/gap\_limit), while often also (not strictly) necessary, I think it could be interesting to find a way that fit w/ all descriptors types rather having it as a special case for SP.

Also, these informations are not strictly necessary in SP context, their purpose is to rescan faster, and about max\_label, I think we can reasonably assume that scanning with default quite hight value (100? 1000? 10\_000?) cames at with nearly no noticeable performance cost.

> [@junderw](#):
>
> Thoughts on encoding scan+spend into one unit while leaving birthday and maxlabel as ints?

I think keys shoud be represented as separated `Key Expression` as defined in BIP-0380 (in descriptor context)

---

_[View the full topic](https://delvingbitcoin.org/t/bip352-private-key-formats/2080)._
