Pike v8.1 release 6

Class Crypto.HMAC

Description

HMAC, defined by RFC 2104.


Method create

Crypto.HMAC Crypto.HMAC(.Hash h, int|void b)

Parameter h

The hash object on which the HMAC object should base its operations. Typical input is Crypto.MD5.

Parameter b

The block size of one compression block, in octets. Defaults to block_size() of h.