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

HMAC

Description

Provides a basic and primitive hmac. From wikipedia: "In cryptography, HMAC (Hash-based Message Authentication Code) is a specific construction for calculating a message authentication code (MAC) involving a cryptographic hash function in combination with a secret key."

Repository

https://github.com/ThomasHintz/chicken-scheme-hmac

Author

Thomas Hintz

Contact me at t@thintz.com.

Requirements

List of Procedures

hmac

[procedure] (hmac key digest-primitive #!optional (block-size 64))

Takes key and digest-primitive and returns a function that takes message and produces an hmac.

Example

(use hmac sha1)

((hmac "secret-key" (sha1-primitive)) "message")

Version History

6

Removed dependency on srfi-4-utils as it is GPL and hmac is BSD.

5

Fixed egg category (was cryptography, now crypt)

4

Forgot to update .setup to match version in .release-info

3

Fixed install dependency bug

2

...not sure...

1

Initial release.