bitmaelum-suite icon indicating copy to clipboard operation
bitmaelum-suite copied to clipboard

seed phrase BIP32 only allows us 128-256 bits

Open jaytaph opened this issue 5 years ago • 4 comments

Since we will have an irregular number of bits, we need to find a way to achieve this.

jaytaph avatar Nov 16 '20 13:11 jaytaph

This has an issue..

BIP32 is used for random data, meaning the words will be randomly chosen. However, since we use semi-deterministic data (mostly 0, 1 etc), the words will be the same over and over again.

We could find a way to fix this (maybe xor with the random data, so we get random data, yet still able to extract our types)

jaytaph avatar Nov 17 '20 10:11 jaytaph

isn't this already "fixed" by using AES as we thought about? https://github.com/bitmaelum/bitmaelum-suite/wiki/Account-(re)generation-and-mnemonic-seed

acalatrava avatar Nov 17 '20 10:11 acalatrava

indeed.. i forgot already :p

jaytaph avatar Nov 17 '20 10:11 jaytaph

This is implementation specific. For now we agree to use per-key seeds, which means we do not need a large seed string

jaytaph avatar Jan 27 '21 09:01 jaytaph