Description

Computes SHA1 (FIPS-180-1) checksums

Author

Christophe Devine, wrapped in Scheme by felix

Version

Requires

Usage

(require-extension sha1)

Download

sha1.egg

Documentation

Digest Procedures

The acceptable input objects for the digest procedures are strings, input-ports, byte-vectors, or anything that can be converted to a byte-vector. See message-digest for more information.

procedure: (sha1:digest OBJECT)

Returns the SHA1 checksum of OBJECT as a hex string.

procedure: (sha1:binary-digest OBJECT)

Returns the SHA1 checksum of OBJECT as a string.

procedure: (sha1:primitive)

Returns the SHA1 checksum primitive object.

License

Copyright (C) 2001-2003  Christophe Devine

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA