# CryptoArgon2id

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

Argon2id derivation.

```ds title="CryptoArgon2id"
export struct CryptoArgon2id<'a> {
    password: &'a readonly [uint8];
    salt: &'a readonly [uint8];
    associatedData: &'a readonly [uint8];
    secret: &'a readonly [uint8];
    iterations: uint32;
    memoryKiB: uint32;
    parallelism: uint32;
}
```

[language/library/src/crypto/binding/kdf.ds:49:64](https://github.com/destack-sh/destack/blob/main/language/library/src/crypto/binding/kdf.ds#L49-L64)

## Members

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

Password bytes.

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

Salt bytes.

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

Optional associated data bytes.

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

Optional secret bytes.

### `iterations: uint32`

Iteration count.

### `memoryKiB: uint32`

Memory size in kibibytes.

### `parallelism: uint32`

Parallel workers.
