Skip to main content

write_new_key_file

Function write_new_key_file 

Source
pub fn write_new_key_file(path: impl AsRef<Path>, key: &[u8; 32]) -> Result<()>
Expand description

Write a new key file: created new (never over an existing name, a symlink included) with mode 0600, holding the key’s 64 hex digits.