---
title: "EcdsaParams | Grafana k6 documentation"
description: "EcdsaParams is a parameter used for sign or verify operations."
---

# EcdsaParams

The `EcdsaParams` represents the object that should be passed as the algorithm parameter into [`sign`](/docs/k6/latest/javascript-api/crypto/subtlecrypto/sign/) or [`verify`](/docs/k6/latest/javascript-api/crypto/subtlecrypto/verify/) when using the ECDSA algorithm.

## Properties

Expand table

| Property | Type     | Description                                                                                           |
|----------|----------|-------------------------------------------------------------------------------------------------------|
| name     | `string` | An algorithm name. Should be `ECDSA`.                                                                 |
| hash     | `string` | An identifier for the digest algorithm to use. Possible values are `SHA-256`, `SHA-384` or `SHA-512`. |
