hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 690b3025eabfa25731f3ad6aeaaa4b2dd64bd5e1
parent 4473110bc6c07fb5185a1540e12d50db7f8f12f7
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 10 Jan 2022 12:09:12 +0100

crypto::derivekey: document algorithm details

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mcrypto/keyderiv.ha | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/crypto/keyderiv.ha b/crypto/keyderiv.ha @@ -28,6 +28,10 @@ use crypto::argon2; // memory, and if it does not take long enough, increase the amount of memory. // If you have reached the maximum amount of memory you are able to use, // increase passes. +// +// The current implementation of this function uses argon2i version 1.3 with the +// provided number of memory blocks, passes equal to passes + 3, and parallelism +// set to one. export fn derivekey( dest: []u8, salt: []u8,