From 9d8ea3b352ddecaf7dc15b66fee76fcc79e42d6a Mon Sep 17 00:00:00 2001
From: librelois <c@elo.tf>
Date: Mon, 22 Mar 2021 17:06:44 +0100
Subject: [PATCH] [DEWIF] improve parameters format

---
 ..._Duniter_Encrypted_Wallet_Import_Format.md | 64 +++++++++----------
 1 file changed, 32 insertions(+), 32 deletions(-)

diff --git a/rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md b/rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md
index 54b1f04..5f891ab 100644
--- a/rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md
+++ b/rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md
@@ -65,20 +65,20 @@ Symmetric encryption algorithm : aes256
 
 aes256 key: scrypt of user passphrase with the following parameters:  
 
-password: passphrase  
-salt: sha256("dewif" ++ passphrase)  
-N : 4096  
-r: 16  
-p: 1
+**password:** passphrase  
+**salt:** sha256("dewif" ++ passphrase)  
+**N:** 4096  
+**r:** 16  
+**p:** 1
 
 Example #1:
 
 aes256 key generated from scrypt with the following parameters:  
 
-keypair seed: 0xbfa3f6e322cf21d0e652f79a69df9498fdf5347665e5646d9041f756496a1143
-N : 4096  
-r: 16  
-p: 1
+**keypair seed:** 0xbfa3f6e322cf21d0e652f79a69df9498fdf5347665e5646d9041f756496a1143  
+**N:** 4096  
+**r:** 16  
+**p:** 1
 
 ```txt
 0x000000001 #v1
@@ -105,11 +105,11 @@ Symmetric encryption algorithm : aes256
 
 aes256 key: scrypt of user passphrase with the following parameters:  
 
-password: passphrase  
-salt: sha256("dewif" ++ passphrase)  
-N : 4096  
-r: 16  
-p: 1
+**password:** passphrase  
+**salt:** sha256("dewif" ++ passphrase)  
+**N:** 4096  
+**r:** 16  
+**p:** 1
 
 ### v3
 
@@ -131,20 +131,20 @@ Symmetric encryption algorithm : aes256
 
 aes256 key: scrypt of user passphrase with the following parameters:  
 
-password: passphrase  
-salt: sha256("dewif" ++ passphrase)  
-N : `2^(log N)`
-r: 16  
-p: 1
+**password:** passphrase  
+**salt:** sha256("dewif" ++ passphrase)  
+**N:** `2^(log N)`  
+**r:** 16  
+**p:** 1
 
 Example #2:
 
 aes256 key generated from scrypt with the following parameters:  
 
-keypair seed: 0xbfa3f6e322cf21d0e652f79a69df9498fdf5347665e5646d9041f756496a1143
-N : `2^15 = 32768`
-r: 16  
-p: 1
+**keypair seed:** 0xbfa3f6e322cf21d0e652f79a69df9498fdf5347665e5646d9041f756496a1143  
+**N:** `2^15 = 32768`  
+**r:** 16  
+**p:** 1
 
 ```txt
 0x000000003 #v3
@@ -180,18 +180,18 @@ Symmetric encryption algorithm : aes256
 
 aes256 key: scrypt of user passphrase with the following parameters:  
 
-password: passphrase  
-salt: sha256("dewif" ++ passphrase)  
-N : `2^(log N)`
-r: 16  
-p: 1
+**password:** passphrase  
+**salt:** sha256("dewif" ++ passphrase)  
+**N:** `2^(log N)`  
+**r:** 16  
+**p:** 1
 
 Example #3:
 
-keypair seed: 0xb7d3a54e1c20172cd38e0d803776a3bacf11f895ef8ef846043a0d628431c872
-N : `2^15 = 32768`
-r: 16  
-p: 1
+**keypair seed:** 0xb7d3a54e1c20172cd38e0d803776a3bacf11f895ef8ef846043a0d628431c872  
+**N:** `2^15 = 32768`  
+**r:** 16  
+**p:** 1
 
 ```txt
 0x000000004 #v4
-- 
GitLab