pub fn sign<CSPRNG: RngCore + CryptoRng>(
        message: &[u8; 32],
        ring: &[(CompressedRistrettoPublic, CompressedCommitment)],
        real_index: usize,
        onetime_private_key: &RistrettoPrivate,
        value: u64,
        blinding: &Scalar,
        output_blinding: &Scalar,
        rng: &mut CSPRNG,
    ) -> Result<Self, Error> {
        RingMLSAG::sign_with_balance_check(
            message,
            ring,
            real_index,
            onetime_private_key,
            value,
            blinding,
            output_blinding,
            true,
            rng,
        )
    }
// Sign a ring of input addresses and amount commitments.
//
// Sign a ring of input addresses and amount commitments using a modified MLSAG
// that omits the "key image" term for the amount commitments (which do not need to be linkable).
//
// # Arguments
// * `message` - Message to be signed.
// * `ring` - A ring of input onetime addresses and amount commitments.
// * `real_index` - The index in the ring of the real input.
// * `onetime_private_key` - The real input's private key.
// * `value` - Value of the real input.
// * `blinding` - Blinding of the real input.
// * `output_blinding` - The output amount's blinding factor.
// * `rng` - Randomness.
Sign a ring of input addresses and amount commitments.
Sign a ring of input addresses and amount commitments using a modified MLSAG
that omits the "key image" term for the amount commitments (which do not need to be linkable).
Sign a ring of input addresses and amount commitments . Sign a ring of input addresses and amount commitments using a modified MLSAG that omits the " key image " term for the amount commitments ( which do not need to be linkable ) .
pub fn sign<CSPRNG: RngCore + CryptoRng>(
        message: &[u8; 32],
        ring: &[(CompressedRistrettoPublic, CompressedCommitment)],
        real_index: usize,
        onetime_private_key: &RistrettoPrivate,
        value: u64,
        blinding: &Scalar,
        output_blinding: &Scalar,
        rng: &mut CSPRNG,
    ) -> Result<Self, Error> {
        RingMLSAG::sign_with_balance_check(
            message,
            ring,
            real_index,
            onetime_private_key,
            value,
            blinding,
            output_blinding,
            true,
            rng,
        )
    }
pub fn sign < CSPRNG : RngCore + CryptoRng > ( message : & [ u8 ; 32 ] , ring : & [ ( CompressedRistrettoPublic , CompressedCommitment ) ] , real_index : usize , onetime_private_key : & RistrettoPrivate , value : u64 , blinding : & Scalar , output_blinding : & Scalar , rng : & mut CSPRNG , ) -> Result < Self , Error > { RingMLSAG :: sign_with_balance_check ( message , ring , real_index , onetime_private_key , value , blinding , output_blinding , true , rng , ) }
Sign a ring of input addresses and amount commitments.
Sign a ring of input addresses and amount commitments .
message
&[u8; 32]
ring
&[(CompressedRistrettoPublic, CompressedCommitment)]
real_index
usize
onetime_private_key
&RistrettoPrivate
value
u64
blinding
&Scalar
output_blinding
&Scalar
rng
&mut CSPRNG
message
&[u8; 32]
ring
&[(CompressedRistrettoPublic, CompressedCommitment)]
real_index
usize
onetime_private_key
&RistrettoPrivate
value
u64
blinding
&Scalar
output_blinding
&Scalar
rng
&mut CSPRNG