pub fn get_secret_key(
secret_key_path: &Path,
) -> Result<SecretKey, SecretKeyError>
Expand description
Attempts to load a [SecretKey
] from a specified path. If no file exists there, then it
generates a secret key and stores it in the provided path. I/O errors might occur during write
operations in the form of a SecretKeyError