mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-16 01:27:08 +00:00
187a627022
Avoid EOF being missed when reading in the password. Replace undefined char-to-int comparison with a int-to-int one. Fix #360 |
||
---|---|---|
.. | ||
.gitignore | ||
benchmark.c | ||
gen_salt.c | ||
hexencode.c | ||
Makefile | ||
pbkdf2.c | ||
README | ||
test.sh | ||
test.txt |
BUILD ------ Just type make. You need a recent development version of libgcrypt installed. On Debian 7 (not earlier) the libgcrypt11-dev package works: # apt-get install libgcrypt11-dev PLANS ------ While this can be useful for general purpose, it specially fits tomb, and it's designed for easy integration and compilation. Binary name will then be: tomb-kdb-${algo} tomb-kdb-${algo}-gensalt tomb-kdb-${algo}-getiter tomb-kdb-hexencode Base64 vs hexencode ------------------- While base64 is easier to use (shell command, more compact), pbkdf2 use hex in its specifications. This could be solved with an option (-x for hex, defaults to base64)