summaryrefslogtreecommitdiffstats
path: root/src/client/repl.rs
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-02-28 19:32:20 +0100
committersalmonik <raisersoft@proton.me>2026-02-28 19:32:20 +0100
commit17082597464198fe84be80313b7d51e1e57de639 (patch)
tree7b2c7b90c38e3c47e1839247174df2161b736df4 /src/client/repl.rs
parentremove Cargo.lock from git tracking (diff)
downloadzagan-bet-17082597464198fe84be80313b7d51e1e57de639.tar.gz
zagan-bet-17082597464198fe84be80313b7d51e1e57de639.zip
folder restructuring
Diffstat (limited to '')
-rw-r--r--src/client/repl.rs (renamed from src/bin/client/repl.rs)2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/client/repl.rs b/src/client/repl.rs
index 5559cfd..5bcb2a3 100644
--- a/src/bin/client/repl.rs
+++ b/src/client/repl.rs
@@ -9,7 +9,7 @@ use crate::database;
9 9
10const SALT: [u8; 16] = *b"fixedsalt1234567"; 10const SALT: [u8; 16] = *b"fixedsalt1234567";
11 11
12fn hash_password(password: &str) -> String { 12pub fn hash_password(password: &str) -> String {
13 let result = hash_with_salt(password, 10, SALT).unwrap(); 13 let result = hash_with_salt(password, 10, SALT).unwrap();
14 result.to_string() 14 result.to_string()
15} 15}