> ## Documentation Index
> Fetch the complete documentation index at: https://turnkey-0e7c1f5b-bc-add-sdk-typedoc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GenerateP256KeyPair

# Function: generateP256KeyPair()

> **generateP256KeyPair**(): `KeyPair`

Defined in: [crypto.ts:274](https://github.com/tkhq/sdk/blob/ee72856c3f450731d7501ab05001215768b71500/packages/crypto/src/crypto.ts#L274)

Generate a P-256 key pair. Contains the hexed privateKey, publicKey, and Uncompressed publicKey

## Returns

`KeyPair`

* The generated key pair.
