# NodeCryptoHmacSha256 | Stacks.js 1.0.0 Library Reference
Documentation for Stacks.js 1.0.0 Library Reference

### Hierarchy

- NodeCryptoHmacSha256

### Implements

- Hmac

## Index

### Constructors

- constructor

### Properties

- createHmac

### Methods

- digest

## Constructors

### constructor

- new NodeCryptoHmacSha256(createHmac: NodeCryptoCreateHmac ): NodeCryptoHmacSha256

- - Defined in packages/encryption/src/hmacSha256.ts:10

  #### Parameters

  - ##### createHmac: NodeCryptoCreateHmac

  #### Returns NodeCryptoHmacSha256

## Properties

### createHmac

createHmac: NodeCryptoCreateHmac

- Defined in packages/encryption/src/hmacSha256.ts:10

## Methods

### digest

- digest(key: Buffer, data: Buffer): Promise<Buffer>

- Implementation of Hmac.digest

  - Defined in packages/encryption/src/hmacSha256.ts:16

  #### Parameters

  - ##### key: Buffer

  - ##### data: Buffer

  #### Returns Promise<Buffer>

Generated using TypeDoc