# CryptoMacParameters

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

MAC parameters.

```ds title="CryptoMacParameters"
export struct CryptoMacParameters {
    algorithm: CryptoMacAlgorithm;
    digest: CryptoDigestAlgorithm;
    tagLength: uint32;
}
```

[language/library/src/crypto/binding/mac.ds:12:19](https://github.com/destack-sh/destack/blob/main/language/library/src/crypto/binding/mac.ds#L12-L19)

## Members

### `algorithm: CryptoMacAlgorithm`

Message authentication algorithm.

### `digest: CryptoDigestAlgorithm`

Digest algorithm for HMAC.

### `tagLength: uint32`

Output tag length in bytes.
