Expand description
Sane serialization & deserialization of cryptographic structs into hex
Modules§
- As above, for Options
- Serializes an Optionsecp::Commitment to and from hex
- Serializes an Optionsecp::SecretKey to and from hex
- Serializes an Optionsecp::Signature to and from hex
- Serializes a secp PublicKey to and from hex
- Serializes a secp::Signature to and from hex
- Used to ensure u64s are serialised in json as strings by default, since it can’t be guaranteed that consumers will know what to do with u64 literals (e.g. Javascript). However, fields using this tag can be deserialized from literals or strings. From solutions on: https://github.com/serde-rs/json/issues/329
Functions§
- Seralizes a byte string into hex
- Creates a BlindingFactor from a hex string
- Creates a Pedersen Commitment from a hex string
- Creates a RangeProof from a hex string