Skip to content

@pumpkin-plugins/signing API / sign / generateKeyPair

Function: generateKeyPair() ​

generateKeyPair(): KeyPair

Defined in: sign.ts:82

Generates a new Ed25519 key pair.

Returns ​

KeyPair

The secret seed and the public key, both in hex.

Pumpkin Plugins documentation