Skip to content

SLIP-0027: Variable-length keys for cryptographic schemes - #2017

Draft
andrewkozlik wants to merge 2 commits into
masterfrom
andrewkozlik/slip27
Draft

SLIP-0027: Variable-length keys for cryptographic schemes#2017
andrewkozlik wants to merge 2 commits into
masterfrom
andrewkozlik/slip27

Conversation

@andrewkozlik

Copy link
Copy Markdown
Contributor

No description provided.

@andrewkozlik
andrewkozlik force-pushed the andrewkozlik/slip27 branch 2 times, most recently from 011cb4c to 6b3e4ad Compare May 20, 2026 16:35
@andrewkozlik
andrewkozlik force-pushed the andrewkozlik/slip27 branch from 6b3e4ad to 7adbfe6 Compare July 7, 2026 09:34
Comment thread slip-0027.md
* *retry* is a single byte, 0 ≤ *retry* ≤ 255.
* *length* is the desired output length in bytes, an integer with 1 ≤ *length* ≤ 16384.
* The block index is encoded as a single byte. The two-byte HMAC message *retry* || *block* is the byte *retry* followed by the byte *block*.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should highlight the importance of not using the Key(N) of a node as a keying material and using the same node as an input for the Expand function.

Suggested change
**Warning:** Never use `Key(N)` as output keying material and the same node *N* as input to `Expand`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants