(type egg)
(signature "sha1 egg")
(timestamp 1612269487)
(sxml ((section 2 "Outdated egg!" (p "This is an egg for CHICKEN 4, the unsupported old release.  You're almost certainly looking for " (int-link "/eggref/5/sha1" "the CHICKEN 5 version of this egg") ", if it exists.") (p "If it does not exist, there may be equivalent functionality provided by another egg; have a look at the " (link "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")) (section 2 "sha1" (toc)) (section 2 "Documentation" (p "Computes SHA1 (FIPS-180-1) checksums") (section 4 "sha1-primitive" (def (sig (procedure "(sha1-primitive)" (id sha1-primitive))) (p "Returns the SHA1 checksum digest primitive object.")))) (section 2 "Usage" (highlight scheme "(use sha1)")) (section 2 "Examples" (highlight scheme "(use sha1 message-digest)\n\n(message-digest-string (sha1-primitive) \"abc\")\n ;=> \"a9993e364706816aba3e25717850c26c9cd0d89d\"")) (section 2 "Requirements" (p (int-link "message-digest" "message-digest"))) (section 2 "Notes" (ul (li "For use with the " (int-link "message-digest" "message-digest") " extension."))) (section 2 "Author" (p "Steve Reid, packaged for Chicken by Peter Bex")) (section 2 "Version history" (dl (dt "3.2.0") (dd "Add raw-update. " (int-link "/users/kon-lovett" "Kon Lovett")) (dt "3.1.0") (dd "Add block-length. " (int-link "/users/kon-lovett" "Kon Lovett")) (dt "3.0.0") (dd "Remove deprecated procedures. " (int-link "/users/kon-lovett" "Kon Lovett")) (dt "2.3") (dd "Make function declarations " (tt "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)") (dt "2.2.2") (dd "Change deprecated " (tt "pointer") " foreign type specifier to " (tt "scheme-pointer") " to make it work under chickens newer than 4.6.0.") (dt "2.2.1") (dd "Fix for test, wrong context allocation size. " (int-link "/users/kon-lovett" "Kon Lovett")) (dt "2.2") (dd "a " (tt "message-digest-primitive") " has no \"state\". " (int-link "/users/kon-lovett" "Kon Lovett")) (dt "2.1") (dd "Replaced GPL code with common public domain code.") (dt "2.0.0") (dd "Initial Chicken 4 release " (int-link "/users/kon-lovett" "Kon Lovett")))) (section 2 "License" (pre " SHA-1 in C\n By Steve Reid <steve@edmweb.com>\n 100% Public Domain"))))
