# CryptoNamedCurve

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

Named curve selector.

```ds title="CryptoNamedCurve"
export enum CryptoNamedCurve {
    P256 = 1,
    P384 = 2,
    P521 = 3,
    Secp256k1 = 4,
}
```

[language/library/src/crypto/binding/algorithm.ds:44:53](https://github.com/destack-sh/destack/blob/main/language/library/src/crypto/binding/algorithm.ds#L44-L53)

## Variants

### `P256 = 1`

NIST P-256.

### `P384 = 2`

NIST P-384.

### `P521 = 3`

NIST P-521.

### `Secp256k1 = 4`

SEC secp256k1.
