Skip to main content

write_secret_key_file

Function write_secret_key_file 

Source
fn write_secret_key_file(
    path: &Path,
    secret_key: &SecretKey,
) -> Result<(), CliCommandError>
Expand description

Write the secret key as hex to a new file only its owner can read.