# CryptoPbkdf2

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

PBKDF2 derivation.

```ds title="CryptoPbkdf2"
export struct CryptoPbkdf2<'a> {
    digest: CryptoDigestAlgorithm;
    password: &'a readonly [uint8];
    salt: &'a readonly [uint8];
    iterations: uint32;
}
```

[language/library/src/crypto/binding/kdf.ds:21:30](https://github.com/destack-sh/destack/blob/main/language/library/src/crypto/binding/kdf.ds#L21-L30)

## Members

### `digest: CryptoDigestAlgorithm`

Digest algorithm.

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

Password bytes.

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

Salt bytes.

### `iterations: uint32`

Iteration count.
