From 78a304974670b5feb06a7eea78ef9d1140d6d296 Mon Sep 17 00:00:00 2001 From: abhibeckert Date: Thu, 23 Jun 2011 21:06:57 +0000 Subject: add MD5 and SHA1 hash bundles (#415) --- .../SHA1 Hash.spBundle/command.plist | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 SharedSupport/Default Bundles/SHA1 Hash.spBundle/command.plist (limited to 'SharedSupport/Default Bundles/SHA1 Hash.spBundle/command.plist') diff --git a/SharedSupport/Default Bundles/SHA1 Hash.spBundle/command.plist b/SharedSupport/Default Bundles/SHA1 Hash.spBundle/command.plist new file mode 100644 index 00000000..a68eae1f --- /dev/null +++ b/SharedSupport/Default Bundles/SHA1 Hash.spBundle/command.plist @@ -0,0 +1,27 @@ + + + + + category + Hash + command + #!/usr/bin/ruby + +require 'digest/sha1' + +print Digest::SHA1.hexdigest(gets) + + input + selectedtext + input_fallback + entirecontent + name + SHA1 + output + replaceselection + scope + inputfield + uuid + 19F272BA-1369-48A7-B10A-4F25EF5B9DD3 + + -- cgit v1.2.3