signature_core/
hidden_message.rs

1use crate::message::Message;
2use crate::nonce::Nonce;
3
4/// Two types of hidden messages
5#[derive(Copy, Clone, Debug)]
6pub enum HiddenMessage {
7    /// Indicates the message is hidden and no other work is involved
8    ///     so a blinding factor will be generated specific to this proof
9    ProofSpecificBlinding(Message),
10    /// Indicates the message is hidden but it is involved with other proofs
11    ///     like boundchecks, set memberships or inequalities, so the blinding factor
12    ///     is provided from an external source.
13    ExternalBlinding(Message, Nonce),
14}