Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
documents
RFCs
Commits
9d8ea3b3
Commit
9d8ea3b3
authored
Mar 22, 2021
by
Éloïs
Browse files
[DEWIF] improve parameters format
parent
4dd45256
Changes
1
Hide whitespace changes
Inline
Side-by-side
rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md
View file @
9d8ea3b3
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment