From 0ec974afa90fd5241c38f0b9aa66efb419706143 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Wed, 25 Mar 2020 09:02:58 +0000 Subject: [PATCH] Fix incorrect number in cryptographic-keys.md 33 bytes + 4 bytes + 4 bytes = 41 bytes, not 40 --- .../payment-system-basics/accounts/cryptographic-keys.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/concepts/payment-system-basics/accounts/cryptographic-keys.md b/content/concepts/payment-system-basics/accounts/cryptographic-keys.md index ca0debbdf8..566c4ac07c 100644 --- a/content/concepts/payment-system-basics/accounts/cryptographic-keys.md +++ b/content/concepts/payment-system-basics/accounts/cryptographic-keys.md @@ -196,7 +196,7 @@ The steps to derive the XRP Ledger's secp256k1 account key pair from a seed valu 3. Derive an "intermediate key pair" from the compressed root public key you, as follows: - 1. Concatenate the following in order, for a total of 40 bytes: + 1. Concatenate the following in order, for a total of 41 bytes: - The compressed root public key (33 bytes) - `0x00000000000000000000000000000000` (4 bytes of zeroes). (This value was intended to be used to derive different members of the same family, but in practice only the value 0 is used.) - A "key sequence" value (4 bytes), as a big-endian unsigned integer. Use 0 as a starting value for the key sequence.