1 # Copyright 2007-2009 Interchange Development Group and others
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version. See the LICENSE file for details.
8 Require module Digest::SHA
11 CodeDef sha1 Description sha1 sum
12 CodeDef sha1 Routine <<EOR
17 return Digest::SHA::sha1_hex($_[0]);