View Source StarkCore.Key (starkcore v0.1.6)

Used to generate API-compatible key pairs

Summary

Functions

Generates a secp256k1 ECDSA private/public key pair to be used in the API authentications

Functions

@spec create(any()) :: {binary(), binary()}

Generates a secp256k1 ECDSA private/public key pair to be used in the API authentications

Parameters (optional):

  • path [string, default nil]: path to save the keys .pem files. No files will be saved if this parameter isn't provided.