Restores a keypair from a secret key.
Restores a keypair from a seed.
Finds a Program-Derived Address from the given programId and seeds.
Generates a new keypair.
Whether the given public key is on the EdDSA elliptic curve.
Signs a message with the given keypair.
Verifies a signature for a message with the given public key.
Defines the interface for the EdDSA cryptography algorithm. It allows us to create, find and use public keys and keypairs.