pub fn generate_keypair(seed: impl AsRef<[u8]>) -> (PublicKey, PrivateKey)
Generates a new keypair using the seed.