manpagez: man pages & more
info bigloo
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.9 Digest

bigloo procedure: base64-encode string [padding 64]
bigloo procedure: base64-decode string

Encodes (respec. decodes) a string into a base64 representation.

bigloo procedure: base64-encode-port input-port output-port [padding 64]
bigloo procedure: base64-decode-port input-port output-port

Encodes (respec. decodes) an input port into a base64 representation.

bigloo procedure: pem-read-file file-name
bigloo procedure: pem-decode-port input-port output-port

Reads a PEM (Privacy Enhanced Mail) base64 encoded file.

bigloo procedure: md5sum obj
bigloo procedure: md5sum-string string
bigloo procedure: md5sum-mmap mmap
bigloo procedure: md5sum-file string
bigloo procedure: md5sum-port input-port

Computes MD5 message digest.

The function md5sum dispatches over its argument and invokes the ad-hoc function. That is, it invokes md5sum-string if its argument is a string, md5sum-mmap if it is a mmap, md5sum-port if its argument is an input port.

bigloo procedure: hmac-md5sum-string key string

Computes the Hmac MD5 authentication:

(hmac-md5sum-string (make-string 16 #a011) "Hi There") 
  ⇒ "9294727a3638bb1c13f48ef8158bfc9d"
bigloo procedure: cram-md5sum-string user key string

Challenge-Response Authentication Mechanism as specified in RFC 2195.

The function cram-md5sum-string assumes that data is base64 encoded. The result is also base64 encoded.

bigloo procedure: sha1sum obj
bigloo procedure: sha1sum-string string
bigloo procedure: sha1sum-mmap mmap
bigloo procedure: sha1sum-file string
bigloo procedure: sha1sum-port input-port

Computes SHA1 message digest.

The function sha1sum dispatches over its argument and invokes the ad-hoc function. That is, it invokes sha1sum-string if its argument is a string, sha1sum-mmap if it is a mmap, sha1sum-port if its argument is an input port.

bigloo procedure: hmac-sha1sum-string key string

Computes the Hmac SHA1 authentication:

bigloo procedure: sha256sum obj
bigloo procedure: sha256sum-string string
bigloo procedure: sha256sum-mmap mmap
bigloo procedure: sha256sum-file string
bigloo procedure: sha256sum-port input-port

Computes SHA256 message digest.

The function sha256sum dispatches over its argument and invokes the ad-hoc function. That is, it invokes sha256sum-string if its argument is a string, sha256sum-mmap if it is a mmap, sha256sum-port if its argument is an input port.

bigloo procedure: hmac-sha256sum-string key string

Computes the Hmac SHA256 authentication:


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on October 23, 2011 using texi2html 5.0.