bigluck 17 Posted January 22, 2013 Share Posted January 22, 2013 Hi everybody, I've created and published an very simple workflow. It allow you to calculate a string hash in: - MD5 - md5 <string> - SHA1 - sha1 <string> - htpasswd (Apache) - htpasswd <string> - CRC32 - crc32 <string> - Whirlpool - whirlpool <string> You can also convert strings to/from base64: - Decode: base64_decode <string> - Encode: base64_encode <string> You can install this workflow from "alfpt install Hash" or downloading the .alfredworkflow file from: https://github.com/BigLuck/alfred2-hash/raw/master/Hash.alfredworkflow Here the github repository: https://github.com/BigLuck/alfred2-hash Link to post
CarlosNZ 102 Posted January 22, 2013 Share Posted January 22, 2013 Very nice, but can you get it work on a file, rather than just an arbitrary string? Cheers. Link to post
bigluck 17 Posted January 22, 2013 Author Share Posted January 22, 2013 Very nice, but can you get it work on a file, rather than just an arbitrary string? Cheers. Done, download the latest version Link to post
fmr 2 Posted January 23, 2013 Share Posted January 23, 2013 Very nice - works great - thanks! Link to post
linuslundahl 0 Posted January 24, 2013 Share Posted January 24, 2013 Since I have php set up to error report notices, I'm getting a lot of stacked notices in front of the hash, the easiest solution for this is by adding: error_reporting(0); at the top of e4WorkflowApp.php. Link to post
bigluck 17 Posted January 25, 2013 Author Share Posted January 25, 2013 Ok, I will release an update in the next days, but first I want fix this problem: http://www.alfredforum.com/index.php?/topic/278-input-string-normalization/ Thanks Link to post
jonathanwiesel 6 Posted March 27, 2013 Share Posted March 27, 2013 Really nice and useful extension. It would be really nice if, for example, I select a file in the Finder and launch Alfred and type "md5" with no argument, result is the file's hash. Link to post
bigluck 17 Posted March 30, 2013 Author Share Posted March 30, 2013 @jonathanwiesel: take a look here https://github.com/BigLuck/alfred2-hash/issues/2#issuecomment-15555307 Link to post
jonathanwiesel 6 Posted March 31, 2013 Share Posted March 31, 2013 Looks very good, thanks. In the meantime I did some modifications to your workflow for said functionality. If it helps in any way or you consider it useful I hope you include it . Download Link to post
bigluck 17 Posted March 31, 2013 Author Share Posted March 31, 2013 Thanks jonathanwiesel, can you please send a pull request in the github repository? Looks very good, thanks. In the meantime I did some modifications to your workflow for said functionality. If it helps in any way or you consider it useful I hope you include it . Download Link to post
jonathanwiesel 6 Posted March 31, 2013 Share Posted March 31, 2013 Thanks jonathanwiesel, can you please send a pull request in the github repository? Done Link to post
zel_winters 0 Posted December 24, 2013 Share Posted December 24, 2013 could you please add support for sha256 and sha512 as well ? That would be awesome. Thank you Link to post
jonathanwiesel 6 Posted January 6, 2015 Share Posted January 6, 2015 The workflow has been updated and added to Packal Link to post
Cicilia 1 Posted November 4, 2019 Share Posted November 4, 2019 Broken since MacOS 10.15 [2019-11-04 18:25:58][ERROR: input.scriptfilter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Warning: count(): Parameter must be an array or an object that implements Countable in /Users/admin/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F7B9DF00-8BBF-476D-9CE9-F48949CF0AC7/e4WorkflowApp.php on line 51 <?xml version="1.0"?> <items><item uid="htpasswd" arg="MTEWszYnI5ilw" valid="true"><title>htpasswd: MTEWszYnI5ilw</title><icon>icon.png</icon></item></items> Link to post
Evans Wong 0 Posted February 21, 2020 Share Posted February 21, 2020 On 11/5/2019 at 1:27 AM, Cicilia said: Broken since MacOS 10.15 [2019-11-04 18:25:58][ERROR: input.scriptfilter] JSON error: JSON text did not start with array or object and option to allow fragments not set. in JSON: Warning: count(): Parameter must be an array or an object that implements Countable in /Users/admin/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.F7B9DF00-8BBF-476D-9CE9-F48949CF0AC7/e4WorkflowApp.php on line 51 <?xml version="1.0"?> <items><item uid="htpasswd" arg="MTEWszYnI5ilw" valid="true"><title>htpasswd: MTEWszYnI5ilw</title><icon>icon.png</icon></item></items> I have the same problem. Have you solved it? Link to post
Chris Spiegl 4 Posted October 24, 2020 Share Posted October 24, 2020 The same issue I have found. Seems this workflow is outdated and incompatible with the latest versions of Alfred. Maybe someone can get this updated someday. Right now I don't have enough time though 🙈. Link to post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now