[−][src]Function exonum_crypto::read_keys_from_file
pub fn read_keys_from_file<P: AsRef<Path>, W: AsRef<[u8]>>(
path: P,
pass_phrase: W
) -> Result<(PublicKey, SecretKey), Error>
Reads and returns PublicKey
and SecretKey
from encrypted file located by path and returns its.