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

RFC13: add aes256 key derivation instructions

parent 95a832da
No related branches found
No related tags found
1 merge request!5Dewif
......@@ -45,6 +45,14 @@ This base64 string encodes a sequence of bytes whose structure is defined below.
Symmetric encryption algorithm : aes256
aes256 key : scrypt of user passphrase with the following parameters:
Seed generated from scrypt with the following parameters:
password: passphrase
salt: sha256("dewif" ++ passphrase)
N : 4096
r: 16
p: 1
Encrypted datas :
| seed(32 bytes) | public key(32bytes) |
......@@ -76,6 +84,14 @@ DUWIF base 64 string (with zeroing aes key):
Symmetric encryption algorithm : aes256
aes256 key : scrypt of user passphrase with the following parameters:
Seed generated from scrypt with the following parameters:
password: passphrase
salt: sha256("dewif" ++ passphrase)
N : 4096
r: 16
p: 1
Encrypted datas :
| seed1(32 bytes) | public key1(32bytes) | seed2(32 bytes) | public key2(32bytes) |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment