mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2025-01-22 22:48:24 +00:00
FIX kdf iteration count
This commit is contained in:
parent
bc45882533
commit
5f3ec68c38
4
tomb
4
tomb
@ -1140,8 +1140,8 @@ gen_key() {
|
||||
fi
|
||||
# --kdf takes one parameter: iter time (on present machine) in seconds
|
||||
local -i microseconds
|
||||
microseconds=$(( itertime * 10000 ))
|
||||
_success "Using KDF, iterations: ::1 microseconds::" $microseconds
|
||||
microseconds=$(( itertime * 1000000 ))
|
||||
_success "Using KDF, iteration time: ::1 microseconds::" $microseconds
|
||||
_message "generating salt"
|
||||
pbkdf2_salt=`tomb-kdb-pbkdf2-gensalt`
|
||||
_message "calculating iterations"
|
||||
|
Loading…
x
Reference in New Issue
Block a user