# CryptoSp800108Counter

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

SP 800-108 counter-mode derivation.

```ds title="CryptoSp800108Counter"
export struct CryptoSp800108Counter<'a> {
    digest: CryptoDigestAlgorithm;
    key: &'a readonly [uint8];
    label: &'a readonly [uint8];
    context: &'a readonly [uint8];
}
```

[language/library/src/crypto/binding/kdf.ds:67:76](https://github.com/destack-sh/destack/blob/main/language/library/src/crypto/binding/kdf.ds#L67-L76)

## Members

### `digest: CryptoDigestAlgorithm`

Digest algorithm.

### `key: &'a readonly [uint8]`

Secret key bytes.

### `label: &'a readonly [uint8]`

Label bytes.

### `context: &'a readonly [uint8]`

Context bytes.
