Function diem_crypto::key_file::load_pri_key
source · pub fn load_pri_key<'de, P: AsRef<Path>, K: DeserializeOwned>(
path: P,
passwd: impl AsRef<[u8]>
) -> Result<K>
Expand description
Load passwd
encrypted private key from path
.