pub fn util_verify( payload: &[u8], signature: &[u8], publickey: &[u8], ) -> Result<bool>
Verify a cryptographic signature
If the public key is prefixed with 0xED then use ED25519. Otherwise assume SECP256k1.