derive_key_from_file

Function derive_key_from_file 

Source
fn derive_key_from_file(path: impl AsRef<Path>) -> Result<Key, Error>
Expand description

Derives an authentication key from a UTF-8-encoded file.

ยงErrors

Returns an error if path cannot be read to String.