HMAC

  1. HMAC
    1. Description
    2. Repository
    3. Author
    4. Requirements
    5. List of Procedures
      1. hmac
    6. Example
    7. Version History
      1. 6
      2. 5
      3. 4
      4. 3
      5. 2
      6. 1

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.