2026-01-19 20:13:25 +01:00
|
|
|
# Compiling
|
|
|
|
|
|
|
|
|
|
Compile on Linux or in WSL.
|
2026-02-08 21:04:28 +01:00
|
|
|
|
|
|
|
|
Compile libsodium for the host:
|
|
|
|
|
```bash
|
|
|
|
|
cd ../libsodium
|
|
|
|
|
./configure --disable-shared --enable-static --prefix="$PWD/install-host"
|
|
|
|
|
make -j
|
|
|
|
|
make install
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Then compile and run password-hash:
|
|
|
|
|
```bash
|
|
|
|
|
cd ../password-hash
|
|
|
|
|
cargo run --release [--target x86_64-unknown-linux-gnu]
|
|
|
|
|
```
|