acid/firmware/password-hash
2026-02-08 21:04:28 +01:00
..
.cargo Site password derivation 2026-02-08 21:04:28 +01:00
src Derive correct salt for encryption key 2026-01-22 22:57:43 +01:00
build.rs Site password derivation 2026-02-08 21:04:28 +01:00
Cargo.toml Use a git rev for spectre-api-sys 2026-01-30 03:18:43 +01:00
README.md Site password derivation 2026-02-08 21:04:28 +01:00

Compiling

Compile on Linux or in WSL.

Compile libsodium for the host:

cd ../libsodium
./configure --disable-shared --enable-static --prefix="$PWD/install-host"
make -j
make install

Then compile and run password-hash:

cd ../password-hash
cargo run --release [--target x86_64-unknown-linux-gnu]