rust-secp256k1-unsafe-fast/src
Tobin Harding de65fb2f1e
Implement de/serialization for SharedSecret
As we do for other keys implement serde de/serialization for the
`SharedSecret`. Includes implementation of `from_slice` method that is
the borrowed version of `from_bytes` as well as a `FromStr`
implementation that parses a hex string.
2022-03-12 07:46:21 +11:00
..
ecdsa Use feature std with rand-std 2022-02-11 07:44:16 +00:00
constants.rs Deprecate SCHNORRSIG_SIGNATURE_SIZE 2022-03-04 14:28:24 +00:00
context.rs restore `global-context-less-secure` feature 2022-02-16 23:46:52 +00:00
ecdh.rs Implement de/serialization for SharedSecret 2022-03-12 07:46:21 +11:00
key.rs Deprecate SCHNORRSIG_PUBLIC_KEY_SIZE 2022-03-04 14:27:58 +00:00
lib.rs Implement de/serialization for SharedSecret 2022-03-12 07:46:21 +11:00
macros.rs Limit SharedSecret to 32 byte buffer 2022-02-21 13:33:17 +00:00
schnorr.rs secp256k1-sys: update upstream library 2022-03-08 19:45:41 +00:00
secret.rs Obfuscate SharedSecret when printing 2022-02-28 07:22:17 +00:00
serde_util.rs Remove `visit_bytes` implementation from `FromStrVisitor` 2021-01-13 09:57:09 +11:00