From 89f90f5b004a15da55e5affcefdaf31b2c5b6684 Mon Sep 17 00:00:00 2001 From: Sir AppSec Date: Sun, 8 Sep 2024 00:13:46 +0300 Subject: [PATCH] fix --- lua/hacker-helper.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/hacker-helper.lua b/lua/hacker-helper.lua index a5f2015..efd670a 100644 --- a/lua/hacker-helper.lua +++ b/lua/hacker-helper.lua @@ -227,9 +227,9 @@ end, { noremap = true, silent = true, desc = "Octal Decode" }) -- MD5 Hash vim.keymap.set("v", M.config.prefix .. M.config.keys.hash_prefix .. M.config.keys.hash_md5, function() - M.transform_selection(function(text) + selection_util.hash_selection(function(text) return M.hash_text(text, "md5") - end, "hash", "md5") -- Passing "hash" as the mode and "md5" as the encoding type + end) -- Passing "hash" as the mode and "md5" as the encoding type end, { noremap = true, silent = true, desc = "MD5 Hash" }) -- SHA-1 Hash