From 7f5310a1aa87cb32499e7f50c864fdaa9a82bd53 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Mon, 25 Apr 2022 07:13:30 +0100 Subject: history list (#340) --- atuin-common/src/utils.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'atuin-common/src/utils.rs') diff --git a/atuin-common/src/utils.rs b/atuin-common/src/utils.rs index 3e3e645b..59545a26 100644 --- a/atuin-common/src/utils.rs +++ b/atuin-common/src/utils.rs @@ -3,15 +3,6 @@ use std::path::PathBuf; use chrono::NaiveDate; use uuid::Uuid; -pub fn hash_str(string: &str) -> String { - use crypto::digest::Digest; - use crypto::sha2::Sha256; - let mut hasher = Sha256::new(); - hasher.input_str(string); - - hasher.result_str() -} - pub fn uuid_v4() -> String { Uuid::new_v4().as_simple().to_string() } -- cgit v1.3.1