summaryrefslogtreecommitdiff
path: root/bip-0151.mediawiki
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-08-07 22:21:06 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-08-07 22:21:06 +0200
commit0c8256f764b895ffe2029e95a7e0166e6b544b32 (patch)
tree73020a5837c7cdc7f37177a31ae22f6fcdd5bf86 /bip-0151.mediawiki
parent30a0580e91a15d4a08776369a3451aeeec305a64 (diff)
downloadbips-0c8256f764b895ffe2029e95a7e0166e6b544b32.tar.xz
[bip151] fix typo in HKDF key
Diffstat (limited to 'bip-0151.mediawiki')
-rw-r--r--bip-0151.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0151.mediawiki b/bip-0151.mediawiki
index a4c8b8e..11f9614 100644
--- a/bip-0151.mediawiki
+++ b/bip-0151.mediawiki
@@ -39,7 +39,7 @@ Encryption initialization must happen before sending any other messages to the r
The symmetric encryption cipher keys will be calculated with ECDH/HKDF by sharing the pubkeys of a ephemeral key. Once the ECDH secret is calculated on each side, the symmetric encryption cipher keys must be derived with HKDF [2] after the following specification:
1. HKDF extraction
-<code>PRK = HKDF_EXTRACT(hash=SHA256, salt="bitcoinechd", ikm=ecdh_secret|cipher-type)</code>.
+<code>PRK = HKDF_EXTRACT(hash=SHA256, salt="bitcoinecdh", ikm=ecdh_secret|cipher-type)</code>.
2. Derive Key1
<code>K_1 = HKDF_EXPAND(prk=PRK, hash=SHA256, info="BitcoinK1", L=32)</code>