From e700392b1563d044509d7b58fe6237edff6d0254 Mon Sep 17 00:00:00 2001 From: Justus Ranvier Date: Thu, 25 Jun 2015 11:15:57 -0500 Subject: [PATCH] improve Bitmessage key derivation --- bip-0047.mediawiki | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bip-0047.mediawiki b/bip-0047.mediawiki index 3fb6a2a0..d49b0ea5 100644 --- a/bip-0047.mediawiki +++ b/bip-0047.mediawiki @@ -214,9 +214,9 @@ A recipient prefers to receive notifications via Bitmessage indiates this prefer The sender uses this information to construct a valid notification Bitmessage address: -# Use the recipient's 0th public key as the Bitmessage signing key:
B
+# Derive a Bitmessage signing key as:
B = payment code / 0 / 0
# Initialize a counter at 1:
n
-# Derive a candidate encryption key:
B' = B + nG
+# Derive a candidate encryption key as:
B' = payment code / 0 / n
# If the combination of B and B` do not form a valid Bitmessage address, increment n by one and try again # Use the address version, signing key, encryption key, and stream number to construct a Bitmessage address per the Bitmessage protocol