Skip to main content

Module ecdsa

Module ecdsa 

Source
Expand description

ecdsa-verify / ecdsa-sign key creation.

Enums§

EcdsaVariant
The served curve/digest pairings. Every variant still binds its hash at mint — a key can never be used with a digest its minter did not choose — but the cross pairings of the served curves and SHA-2 digests are representable, as WebCrypto’s per-operation hash makes them on the platform.

Functions§

generate_key
Generate a fresh random signing key of the declared variant, returning both halves.
import_verifying_key_raw
Import a public key as an uncompressed SEC1 point.