pub fn secret_key_generate() -> Result<SecretKey, SdkError>
Generates a secret key using the Ed25519 algorithm.
A Result containing the generated secret key or an error if the generation fails.
Result
Returns an SdkError if the secret key generation fails.
SdkError