Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for 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 egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

  1. Outdated egg!
  2. snowdigest
    1. Package description
    2. History

snowdigest

A port of the Scheme Now! digest package.

Package description

(package* digest/v1.0.1
 (provide:

  (define (open-digest algorithm))

  (define* (close-digest digest (result-type _)))

  (define (digest-update-subu8vector digest u8vect start end))
  (define (digest-update-u8 digest n))     ;; assumes n is a fixnum
  (define (digest-update-u16-le digest n)) ;; assumes n is a fixnum
  (define (digest-update-u16-be digest n)) ;; assumes n is a fixnum
  (define (digest-update-u32-le digest n)) ;; assumes n is a fixnum
  (define (digest-update-u32-be digest n)) ;; assumes n is a fixnum

  (define* (digest-string str algorithm (result-type _)))
  (define* (digest-substring str start end algorithm (result-type _)))
  (define* (digest-u8vector u8vect algorithm (result-type _)))
  (define* (digest-subu8vector u8vect start end algorithm (result-type _)))
  (define* (digest-file filename algorithm (result-type _))))

 (maintainer:
  "Scheme Now! <snow at iro.umontreal.ca>")

 (author:
  "Marc Feeley <feeley at iro.umontreal.ca>")

 (homepage:
  "http://snow.iro.umontreal.ca")

 (description:
  "Computation of message digests (CRC32, MD5, SHA-1, ...).")

 (keywords: hash conv snow)

 (license: lgpl/v2.1)

 (require: fixnum/v1)
 (require: homovector/v1)
 (require: binio/v1))

This package was converted to a CHICKEN extension by felix winkelmann

History

1.0.1
initial import