|
@ -316,7 +316,7 @@ pub fn decompress_signature(b: &[u8; 64]) -> Result { |
|
|
Result::Ok(res) => Ok(Signature { r_b8: res, s: s.to_string() }),
|
|
|
Result::Ok(res) => Ok(Signature { r_b8: res, s: s.to_string() }),
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(Debug)]
|
|
|
pub struct ElGamalEncryption {
|
|
|
pub struct ElGamalEncryption {
|
|
|
pub c1: Point,
|
|
|
pub c1: Point,
|
|
|
pub c2: Point
|
|
|
pub c2: Point
|
|
|