Function load_or_create_secret_key
pub fn load_or_create_secret_key(path: &Path) -> Result<SecretKey, Error>Expand description
Loads the secret key stored at path, or generates one and stores it there.
The file holds the key’s 32 bytes and is created readable by this user only.
§Errors
Fails if the file cannot be read or written, or holds something other than a key.