summaryrefslogtreecommitdiffstats
path: root/src/bin/client/repl.rs
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-02-28 21:10:20 +0100
committersalmonik <raisersoft@proton.me>2026-02-28 21:10:20 +0100
commit9e3757eea25b71461c45521dd1ef6c17be34744f (patch)
tree74f598beb0ccf8370c920031df7b981294bcdefe /src/bin/client/repl.rs
parentfolder restructuring (diff)
downloadzagan-bet-9e3757eea25b71461c45521dd1ef6c17be34744f.tar.gz
zagan-bet-9e3757eea25b71461c45521dd1ef6c17be34744f.zip
Revert "folder restructuring"
This reverts commit 17082597464198fe84be80313b7d51e1e57de639.
Diffstat (limited to '')
-rw-r--r--src/bin/client/repl.rs (renamed from src/client/repl.rs)2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/repl.rs b/src/bin/client/repl.rs
index 5bcb2a3..5559cfd 100644
--- a/src/client/repl.rs
+++ b/src/bin/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
12pub fn hash_password(password: &str) -> String { 12fn 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}