Closed Sozialarchiv closed 1 year ago
You need to convert the boxed slice to &[u8]
, if you want to use the built-in formatting. But I would recommend to use specialized serialization crates instead, e.g. base16ct
or hex
.
Thank you very much for the fast helpful reply.
I could solve it with:
format!("{}", &hex::encode)
The DynDigest example is not working for me.
If I try to get string:
I get the following error:
The other examples are working for me. I am using the newest rust version