Commits
Click on a commit to change the comparison rangecrypto: add prefixed hex representation to `PrivateKey`
Same as for `Display` and `FromStr` impls for `PublicKey`.
`PrivateKey` does not implement `Display` on purpose (to avoid leaking sensitive info in logs), so instead of `to_string()` the method is called `to_prefixed_string()` crypto: make FromStr<PublicKey>::Error = error::Format
it was previously `error::Token` which was way too vague, and gave poor UX when trying to parse a public key