Jump to content
bigluck

MD5, SHA1, base64, htpassdw, whirlpool and crc32 hash calculation workflow

Recommended Posts

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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...