trezor / python-shamir-mnemonic

MIT License
165 stars 59 forks source link

Reasoning behind rejecting non even byte length for master secret #19

Closed stp-ip closed 4 years ago

stp-ip commented 4 years ago

Curious, what the reasoning was behind requiring an even byte length for master secrets instead of padding to an even value.

prusnak commented 4 years ago

https://github.com/satoshilabs/slips/blob/master/slip-0039.md#encryption-of-the-master-secret

Feistel network requires even number of bytes of the input.