starkbank v0.2.0 StarkBank.Key View Source

Used to generate API-compatible key pairs

Link to this section Summary

Functions

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

Link to this section Functions

Link to this function

create(path \\ nil)

View Source
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.