Function nkeys::from_public_key
source · pub fn from_public_key(source: &str) -> Result<(u8, [u8; 32]), Error>
Expand description
Returns the prefix byte and the underlying public key bytes
NOTE: This is considered an advanced use case, it’s generally recommended to stick with KeyPair::from_public_key
instead.