diff options
Diffstat (limited to '49.md')
| -rw-r--r-- | 49.md | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -16,13 +16,13 @@ PASSWORD = Read from the user. The password should be unicode normalized to NFKC | |||
| 16 | 16 | ||
| 17 | LOG\_N = Let the user or implementer choose one byte representing a power of 2 (e.g. 18 represents 262,144) which is used as the number of rounds for scrypt. Larger numbers take more time and more memory, and offer better protection: | 17 | LOG\_N = Let the user or implementer choose one byte representing a power of 2 (e.g. 18 represents 262,144) which is used as the number of rounds for scrypt. Larger numbers take more time and more memory, and offer better protection: |
| 18 | 18 | ||
| 19 | | LOG\_N | MEMORY REQUIRED | APPROX TIME ON FAST COMPUTER | | 19 | | LOG_N | MEMORY REQUIRED | APPROX TIME ON FAST COMPUTER | |
| 20 | |--------|-----------------|----------------------------- | | 20 | |-------|-----------------|----------------------------- | |
| 21 | | 16 | 64 MiB | 100 ms | | 21 | | 16 | 64 MiB | 100 ms | |
| 22 | | 18 | 256 MiB | | | 22 | | 18 | 256 MiB | | |
| 23 | | 20 | 1 GiB | 2 seconds | | 23 | | 20 | 1 GiB | 2 seconds | |
| 24 | | 21 | 2 GiB | | | 24 | | 21 | 2 GiB | | |
| 25 | | 22 | 4 GiB | | | 25 | | 22 | 4 GiB | | |
| 26 | 26 | ||
| 27 | SALT = 16 random bytes | 27 | SALT = 16 random bytes |
| 28 | 28 | ||