# CryptoEcKeyShape

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

Elliptic-curve key shape.

```ds title="CryptoEcKeyShape"
export struct CryptoEcKeyShape {
    algorithm: "ec";
    curve: CryptoNamedCurve;
}
```

[language/library/src/crypto/binding/key.ds:33:38](https://github.com/destack-sh/destack/blob/main/language/library/src/crypto/binding/key.ds#L33-L38)

## Members

### `algorithm: "ec"`

Shape discriminator.

### `curve: CryptoNamedCurve`

Named curve.
