Ecdsa.p256 constructor

Ecdsa.p256(
  1. HashAlgorithm hashAlgorithm
)

ECDSA using P-256 (secp256r1 / prime256v1) elliptic curve.

For usage, see Ecdsa class documentation.

Implementation

factory Ecdsa.p256(HashAlgorithm hashAlgorithm) {
  return Cryptography.instance.ecdsaP256(hashAlgorithm);
}