Merge pull request #31 from procilon/master
salt is not a constant and should not be
This commit is contained in:
Коммит
27d55d0fe3
2
RFC.md
2
RFC.md
|
@ -400,7 +400,7 @@ The private key is a 2048 RSA key.
|
|||
|
||||
We have some defined constants to use for encryption and decryption of the private key:
|
||||
|
||||
* salt: "$4$YmBjm3hk$Qb74D5IUYwghUmzsMqeNFx5z0/8$"
|
||||
* saltLength: 40 bytes
|
||||
* iterations: 1024
|
||||
* keyLength: 32 bytes (256 bit)
|
||||
* ivDelimiter: "fA=="
|
||||
|
|
Загрузка…
Ссылка в новой задаче