HashPrograms
From FOAF
Hash programs for sha1:
* Bash: echo -n "mailto:foo" | sha1sum * Python: python -c "import sha; print sha.new('mailto:foo').hexdigest()" * Ruby: ruby -rdigest/sha1 -e 'puts Digest::SHA1.new("mailto:foo").hexdigest'
Links to other implementations:
* Java Sam Ruby's lengthy sha1demo.java * JavaScript JavaScript sha1 and MD5 implementations with online demo * Java SWAD-E Geo JavaSha1.java * Perl SWAD-E Geo PerlSha1.pl * C Aaron D. Gifford's hmac_sha1
It might be a good idea to combine this information with that at HowToMakeAnSha1Sum.
