Function decode_ed25519_multikey
pub fn decode_ed25519_multikey(multibase: &str) -> Result<[u8; 32], Error>Expand description
Decode a Multikey publicKeyMultibase string into raw Ed25519 key bytes.
Verifies the base58btc multibase prefix (z) and the ed25519-pub multicodec
header, returning the 32-byte payload.
Returns Err for a wrong multibase, an undecodable base58, a non-Ed25519
codec, or a payload that is not exactly 32 bytes.