pub fn peer_id_to_xor_name(peer_id: &str) -> Option<[u8; 32]>
Convert a hex-encoded peer ID string to an XorName.
XorName
Returns None if the string is not valid hex or is not exactly 32 bytes (64 hex chars).
None