# CryptoKeyAgreementAlgorithm

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

Key agreement algorithm selector.

```ds title="CryptoKeyAgreementAlgorithm"
export enum CryptoKeyAgreementAlgorithm {
    Ecdh = 1,
    X25519 = 2,
    X448 = 3,
}
```

[language/library/src/crypto/binding/algorithm.ds:176:183](https://github.com/destack-sh/destack/blob/main/language/library/src/crypto/binding/algorithm.ds#L176-L183)

## Variants

### `Ecdh = 1`

ECDH over one named curve.

### `X25519 = 2`

X25519.

### `X448 = 3`

X448.
