summaryrefslogtreecommitdiffstats
path: root/src/bin/client/repl.rs
diff options
context:
space:
mode:
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}