# CryptoHmacKeyShape

`import { CryptoHmacKeyShape } from "destack:crypto/binding";`

HMAC key shape.

```ds title="CryptoHmacKeyShape"
export struct CryptoHmacKeyShape {
    algorithm: "hmac";
    sizeBits: uint32;
    digest: CryptoDigestAlgorithm;
}
```

[language/library/src/crypto/binding/key.ds:79:86](https://github.com/destack-sh/destack/blob/main/language/library/src/crypto/binding/key.ds#L79-L86)

## Members

### `algorithm: "hmac"`

Shape discriminator.

### `sizeBits: uint32`

Key size in bits.

### `digest: CryptoDigestAlgorithm`

Default digest algorithm.
