You are looking at historical revision 15611 of this page. It may differ significantly from its current revision.

sha1

Documentation

Computes SHA1 (FIPS-180-1) checksums

"Digest Procedures"

Any Scheme-object can be the SOURCE for a digest. See message-digest for more information.

digest

[procedure] (digest SOURCE)

Returns the SHA1 checksum of SOURCE as a hex string.

binary-digest

[procedure] (binary-digest SOURCE)

Returns the SHA1 checksum of SOURCE as a string.

primitive

[procedure] (primitive)

Returns the SHA1 checksum digest primitive object.

Usage

(module foo (...)
  (import ...
          (prefix sha1 sha1:))
  (require-library sha1)
  ...
)

Examples

Notes

Requirements

Bugs and Limitations

Author

Chistophe Devine (packaged for CHICKEN by felix winkelmann & kon lovett)

Version history

2.0.0
Initial Chicken 4 release kon lovett

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