Wiki
Download
Manual
Eggs
API
Tests
Bugs
show
edit
history
You can edit this page using
wiki syntax
for markup.
Article contents:
== Outdated egg! This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for [[/eggref/5/sha1|the CHICKEN 5 version of this egg]], if it exists. If it does not exist, there may be equivalent functionality provided by another egg; have a look at the [[https://wiki.call-cc.org/chicken-projects/egg-index-5.html|egg index]]. Otherwise, please consider porting this egg to the current version of CHICKEN. [[tags: egg]] == sha1 [[toc:]] == Documentation Computes SHA1 (FIPS-180-1) checksums ==== sha1-primitive <procedure>(sha1-primitive)</procedure> Returns the SHA1 checksum digest primitive object. == Usage <enscript language=scheme> (use sha1) </enscript> == Examples <enscript highlight="scheme"> (use sha1 message-digest) (message-digest-string (sha1-primitive) "abc") ;=> "a9993e364706816aba3e25717850c26c9cd0d89d" </enscript> == Requirements [[message-digest|message-digest]] == Notes * For use with the [[message-digest|message-digest]] extension. == Author Steve Reid, packaged for Chicken by Peter Bex == Version history ; 3.2.0 : Add raw-update. [[/users/kon-lovett|Kon Lovett]] ; 3.1.0 : Add block-length. [[/users/kon-lovett|Kon Lovett]] ; 3.0.0 : Remove deprecated procedures. [[/users/kon-lovett|Kon Lovett]] ; 2.3 : Make function declarations {{static}} in order to avoid conflicts with those from libc if the OS supplies them. This makes SHA-1 work on OpenBSD (thanks to Alan Post and Christian Kellermann) ; 2.2.2 : Change deprecated {{pointer}} foreign type specifier to {{scheme-pointer}} to make it work under chickens newer than 4.6.0. ; 2.2.1 : Fix for test, wrong context allocation size. [[/users/kon-lovett|Kon Lovett]] ; 2.2 : a {{message-digest-primitive}} has no "state". [[/users/kon-lovett|Kon Lovett]] ; 2.1 : Replaced GPL code with common public domain code. ; 2.0.0 : Initial Chicken 4 release [[/users/kon-lovett|Kon Lovett]] == License SHA-1 in C By Steve Reid <steve@edmweb.com> 100% Public Domain
Description of your changes:
I would like to authenticate
Authentication
Username:
Password:
Spam control
What do you get when you add 2 to 18?