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