Skip to content
Snippets Groups Projects
Commit 9d8ea3b3 authored by Éloïs's avatar Éloïs
Browse files

[DEWIF] improve parameters format

parent 4dd45256
No related branches found
No related tags found
1 merge request!5Dewif
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment