# crypt.hmac 库模块帮助文档

## crypt 成员列表 <a id="crypt" href="#crypt">&#x23;</a>

### crypt.hmac("密钥","源数据",算法ID) <a id="crypt.hmac" href="#crypt.hmac">&#x23;</a>
返回HMAC哈希对象,算法ID默认为 _CALG_SHA1

### crypt.hmac() <a id="crypt.hmac" href="#crypt.hmac">&#x23;</a>
[返回对象:cryptHashObject](#cryptHashObject)

## crypt.hmac 成员列表 <a id="crypt.hmac" href="#crypt.hmac">&#x23;</a>

### crypt.hmac.md5("密钥","源数据") <a id="crypt.hmac.md5" href="#crypt.hmac.md5">&#x23;</a>
返回 HMAC-MD5 哈希对象

### crypt.hmac.md5() <a id="crypt.hmac.md5" href="#crypt.hmac.md5">&#x23;</a>
[返回对象:cryptHashObject](#cryptHashObject)

### crypt.hmac.sha1("密钥","源数据") <a id="crypt.hmac.sha1" href="#crypt.hmac.sha1">&#x23;</a>
返回 HMAC-SHA1 哈希对象

### crypt.hmac.sha1() <a id="crypt.hmac.sha1" href="#crypt.hmac.sha1">&#x23;</a>
[返回对象:cryptHashObject](#cryptHashObject)

### crypt.hmac.sha256("密钥","源数据") <a id="crypt.hmac.sha256" href="#crypt.hmac.sha256">&#x23;</a>
返回 HMAC-SHA256 哈希对象

### crypt.hmac.sha256() <a id="crypt.hmac.sha256" href="#crypt.hmac.sha256">&#x23;</a>
[返回对象:cryptHashObject](#cryptHashObject)

### crypt.hmac.sha384("密钥","源数据") <a id="crypt.hmac.sha384" href="#crypt.hmac.sha384">&#x23;</a>
返回 HMAC-SHA384 哈希对象

### crypt.hmac.sha384() <a id="crypt.hmac.sha384" href="#crypt.hmac.sha384">&#x23;</a>
[返回对象:cryptHashObject](#cryptHashObject)

### crypt.hmac.sha512("密钥","源数据") <a id="crypt.hmac.sha512" href="#crypt.hmac.sha512">&#x23;</a>
返回 HMAC-SHA512 哈希对象

### crypt.hmac.sha512() <a id="crypt.hmac.sha512" href="#crypt.hmac.sha512">&#x23;</a>
[返回对象:cryptHashObject](#cryptHashObject)
