View Single Post
  #3  
Old January 29th, 2008, 02:26 PM
michaelsanford's Avatar
michaelsanford michaelsanford is offline
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montrιal
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
Very good of you to post the answer!

Incidentally, most of those shortcut commands for openssl can be re-created by either making a one-liner shell script, or through Fink (I'm pretty sure Fink includes a few shortcuts like md5sum).

For a one-liner shortcut, you could create a script called sha1sum with
Code:
#!/bin/bash
/usr/bin/openssl sha1 $1
You can replace "sha1" with any of the digests openssl supports.

Though, IMHO, this type of shortcut is really not that useful.
__________________
michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
• iMac Aluminum 24" |
MacOS X 10.5-current | 3.06 GHz Intel Core Duo | 4 GB RAM | 1 TB HDD
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote