Expand description
HD Payload
The HD Payload is an Address attribute stored along the address in encrypted form.
This use chacha20poly1305 to auth-encrypt a BIP39 derivation path, which is then stored in the address. The owner of the symmetric key used to encrypt, can then decrypt the address payload and find the derivation path associated with it.
Structs
- The key to encrypt and decrypt HD payload
Enums
Constants
- This is the max size we accept to try to decrypt a HDPayload. This is due to avoid trying to decrypt content that are way beyond reasonable size.
- NONCE 🔒
- SALT 🔒
- TAG_LEN 🔒