radicle-heartwood-lfs/radicle-crypto
Fintan Halpenny 58c26e1c9d
radicle-crypto: ExtendedSignature constructor and destructor
Add `ExtendedSignature::new` to construct an `ExtendedSignature`
provided a public key and signature. The `namespace` chosen was
"radicle" and `reserved` is set to be empty -- these choices were
slightly arbitrary.

Also add a desctructor in the form of:
`From<ExtendedSignature> for (PublicKey, Signature)`

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2022-11-04 16:11:17 +00:00
..
src radicle-crypto: ExtendedSignature constructor and destructor 2022-11-04 16:11:17 +00:00
Cargo.toml Zeroize secret key in signer 2022-11-03 16:49:29 +01:00